[antlr-interest] Operators and rewrite rules equivalence
aurelien.larive at 4dconcept.fr
Mon Jan 11 07:46:39 PST 2010
I successfully buit an AST using the operators notation (^) but I need
to customize a bit my AST construction. Could someone tell me what's the
rewrite rules version of the following rule ?
: notexpression ( AND^ notexpression )*
I found a similar example at
http://www.antlr.org/wiki/display/ANTLR3/Tree+construction but I failed
to apply this to my problem.
Thanks in advance,
More information about the antlr-interest