Ruby target


Kyle Yetter has built a new and complete Ruby target for 3.3.

Previous author: Martin Traverso (mtraverso [at] acm [dot] org)


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

More info.

Sample grammar

Ruby target examples.