[antlr-interest] LPG WAS Retaining comments

Olivier Lefevre lefevrol at yahoo.com
Tue Mar 18 14:47:20 PDT 2008


Another possible answer is that a parse tree is what you get by default, an 
AST what you get if you take charge. The former (for a given tool and 
grammar) should be well-defined, the latter not so much since it depends on 
what _you_ are doing (in ANTLR, using tree operators and rewrite actions).

-- O.L.



More information about the antlr-interest mailing list