[antlr-interest] Sample automatic visitor

Terence Parr parrt at cs.usfca.edu
Thu Sep 8 14:32:57 PDT 2011


Hi, I have a prototype working for the automatic parse tree construction and automatic visitor generation, which I've described here:

http://www.antlr.org/wiki/display/~admin/2011/09/08/Sample+v4+generated+visitor

Feedback is very welcome, and now is a good time to speak up ;)

It makes me a bit nervous to generate 2 extra files from every grammar, but I'm guessing it will be one of the most popular ways to use ANTLR. My goal is to make ANTLR very easy to use out-of-the-box while still allowing performance minded experts to get what they need.

Ter


More information about the antlr-interest mailing list