[antlr-interest] Can ANTLR traverse an AST postorder?
Bernardo Elayda
belayda at gmail.com
Sat Apr 5 13:14:45 PDT 2008
Hi,
I'm using Antlr 3 and StringTemplate 3 to generate code for a language that
doesn't use a stack.
So, there are lots of temporary variables. It seems like Antlr is
hard-coded to perform only a preorder traversal(NLR) if an AST. I need to
perform a postorder traversal(LRN).
Is there an option I can use to perform a postorder traversal of an AST?
I'm hoping I missed something and there is an option to do this.
thx in advance!
-Bernardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080405/1770af3f/attachment.html
More information about the antlr-interest
mailing list