Antlr3RubyTarget
Ruby target
Author
Kyle Yetter has built a new and complete Ruby target for 3.3.
Previous author: Martin Traverso (mtraverso [at] acm [dot] org)
Status
Functional at ANTLR 3.3. Handles:
AST construction
Built-in automatic test scripts to quickly try out your recognizer
AST parser generation
Debug mode features
Grammar profiling features
Template output mode (using a variation of ERB instead of StringTemplate)
Lexer filter mode
Thanks for the good work on integrating antlr with Ruby. When using antlr version 3.0 (May 17. 2007) with the above grammar, however, I get the following error:
error(10): internal error: group Ruby does not satisfy interface ANTLRCore: missing templates [lexerRuleRefAndListLabel]
Is there anything I can do about it other than implementing the missing functions myself ?
Ben