[antlr-interest] (newbie problem) rewrite rule question

ali azimi aliaazimi at yahoo.com
Tue Jul 10 16:04:22 PDT 2007

  This one looks complicated to me. Do you think it is ok? I read in the pdf that single rules or texts enclosed in Apostrophe are automatically provided with a tree node. I do not know if it is correct in here. Could you please help?
 :((expr1=expression ':'expr2=expression)->^(':' $expr1 $expr2)
 |('='|'/='|'<'|'<='|'>'|'>=')?expr3=expression)->^(RNGCONITEM  ^(SIGNS '=' '/=' '<' '<=' '>' '>=')
  Best wishes,

Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070710/7dc2ffda/attachment.html 

More information about the antlr-interest mailing list