[antlr-interest] ANTLR 3 output=AST for tree parser?

Kay Roepke kroepke at classdump.org
Mon Feb 26 06:19:48 PST 2007


On Feb 26, 2007, at 3:14 PM, Mark Bednarczyk wrote:

> So in essence, I rely on tree walker rules to do the matching and  
> get me in
> the right place of the AST, the action code to do any processing and
> rewrites and then rewrite "->" to produce the templates in the last  
> phase of
> the processing.

Yeah, that's the way to do it right now. In the future it'd be  
awesome to do tree
transformations by having some syntax for it :)

cheers,
-k

-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list