[antlr-interest] (newbie question)the right way for writting rewrite rules

ali azimi aliaazimi at yahoo.com
Tue Jul 10 15:02:30 PDT 2007


Hi,
   
  Thank you very much for all your supports.
   
  For the following grammar which rewrite rule is correct? 1 or 2
   
  operatorApplication
 :operatorIdentifier'('expression(','expression)*')'
 ;
   
  1->^(operatorIdentifier expression+)
   
  2->^(operatorIdentifier expression)+
   
  Best wishes,
   
  Al
   

 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070710/6d6f657b/attachment.html 


More information about the antlr-interest mailing list