[antlr-interest] AST manipulation

James Mansion james at mansionfamily.plus.com
Mon Aug 20 12:57:43 PDT 2007


I have the book and its very hot on the template output - but I'd like 
to write some passes
over the AST that manipulate its structure in-place, changing some node 
types, creatiing
new nodes, and generally swizzling things around.

Are there any examples of tree parsers that do this - or is that the 
wrong approach?

James



More information about the antlr-interest mailing list