[antlr-interest] a question about 'while' logic
Jim Idle
jimi at temporal-wave.com
Mon Jul 2 08:13:23 PDT 2007
Probably the best thing to do is to download the examples on the download page and crib from the Java or C parser examples. That should give you everything you need for that construct.
Jim
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of csnowfox_antlr at 126.com
Sent: Monday, July 02, 2007 7:17 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] a question about 'while' logic
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`
________________________________
百 万 同 时 在 线,人 山 人 海 同 玩 梦 幻 西 游 <http://event.mail.163.com/chanel/xyq.htm?from=126_NO3>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070702/d4f4f29d/attachment.html
More information about the antlr-interest
mailing list