{"id":2831,"date":"2021-03-05T07:23:28","date_gmt":"2021-03-05T12:23:28","guid":{"rendered":"http:\/\/codinggorilla.com\/?p=2831"},"modified":"2021-03-05T07:23:28","modified_gmt":"2021-03-05T12:23:28","slug":"testing-of-antlr-language-targets","status":"publish","type":"post","link":"http:\/\/165.227.223.229\/index.php\/2021\/03\/05\/testing-of-antlr-language-targets\/","title":{"rendered":"Testing of Antlr language targets"},"content":{"rendered":"\n<p>A few weeks of work, and I finally have a driver generator that can test any grammar with any target.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias make='mingw32-make.exe'\nfor i in CSharp Java JavaScript Dart Python3\ndo\n    echo $i\n    rm -rf Generated\n    dotnet-antlr -t $i\n    pushd Generated\n    ls\n    mingw32-make.exe\n    mingw32-make.exe run RUNARGS=\"-input 1+2 -tree\"\n    mingw32-make.exe clean\n    ls\n    popd\ndone<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks of work, and I finally have a driver generator that can test any grammar with any target.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts\/2831"}],"collection":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/comments?post=2831"}],"version-history":[{"count":0,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts\/2831\/revisions"}],"wp:attachment":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/media?parent=2831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/categories?post=2831"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/tags?post=2831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}