Is there an existing ANTLR or IRONY grammar for R?
Pergunta
Does anyone know if there is an existing existing ANTLR or IRONY grammar for R?
Many thanks.
Solução
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
Outras dicas
I'd guess a good place to look would be R to C Compiler (RCC) that was developed by John Garvin at Rice
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow