[antlr-interest] implementation of multiple AST passes?

Tom Smith yotommy at gmail.com
Mon Dec 10 07:50:44 PST 2007


My translator project would definitely benefit from multiple passes
over the AST.  I'm looking at implementation options.

I see a thread from antlr-interest in June 2005 in which Terence
describes a method in which a single tree grammar can be supplied with
different actions/behaviors via subclassing:

http://www.antlr.org/pipermail/antlr-interest/2005-June/012788.html

Antlr has changed a lot since 2005.  Have any of those changes brought
good alternatives to the approach described above?

Thanks,
Tom Smith.


More information about the antlr-interest mailing list