[antlr-interest] Rewrite rule (newbie question)

ali azimi aliaazimi at yahoo.com
Fri Jul 6 22:36:47 PDT 2007


Hi,
   
  I have some grammar and rewrite rules which when I try to generate code from them, it painfully slows my computer down. Could you please tell me what is wrong? a sample of the grammar and the rewrite rule is as follows: is the rewrite rule ok?
   
  
textualsystemdefinition 
 :packagereferenceclause*('system' systemname end entityinsystem+ 'endsystem'(systemname)?end|typebasedsystemdefinition)
 ->^(UNIT packagereferenceclause*) ^('system'systemname end entityinsystem+ 'endsystem' (systemname)? end typebasedsystemdefinition)
 ;
   
  Many  thanks in advance
   
  Best wishes,
   
  Al

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070706/9d208db9/attachment.html 


More information about the antlr-interest mailing list