[antlr-interest] help writing a grammar class for a statement

Daran Davis darandavis at comcast.net
Sat Mar 12 12:46:15 PST 2005


Hello,
 
I am new to antlr and have a question regarding writing grammar classes.
I have a language which has no line continuation characters and no
statement end characters. For example, the following statement need to
be correctly parsed:
 
Var1 = 2*(3+4)+ (
         6+4)/10
Var2 = Var1/2
 
How can I handle this with antlr?
 
Thanks,
 
DD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050312/49cd56a7/attachment.html


More information about the antlr-interest mailing list