[antlr-interest] a question about 'while' logic

csnowfox_antlr at 126.com csnowfox_antlr at 126.com
Mon Jul 2 07:16:53 PDT 2007


hi``everybody
I am a beginners of antlr .
Now, I would like to add the cycle  logic to a new language, but I have no way to start. 
For example, to implement a logic 
a = 3;
While (a >1) {a --;}
not only get a string but do the logic.
Someone can enlighten about it? Or give examples.
thanks`
 
 


百 万 同 时 在 线,人 山 人 海 同 玩 梦 幻 西 游  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070702/d5bbed38/attachment.html 


More information about the antlr-interest mailing list