Search code examples
rantlrgrammarironyantlr4

Is there an existing ANTLR or IRONY grammar for R?


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