Is there an existing ANTLR or IRONY grammar for R?
Question
Does anyone know if there is an existing existing ANTLR or IRONY grammar for R?
Many thanks.
Solution
I've built an R grammar for the early access "Honey Badger" ANTLR v4 release, if you'd like to give it a look. See the ANTLR v4 Examples page. Source for v4 is https://github.com/antlr/antlr4. binary jar here: http://antlr.org/download/antlr-4.0ea-complete.jar For R you want http://www.antlr.org/wiki/download/attachments/28049418/R.g4
OTHER TIPS
I'd guess a good place to look would be R to C Compiler (RCC) that was developed by John Garvin at Rice
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow