[antlr-interest] stuck expr

mzukowski at yci.com mzukowski at yci.com
Wed Oct 1 06:43:22 PDT 2003


Run antlr.Tool with -traceParser and then run your parser again and see what
it is doing.  Take a look at the generated source code, it's pretty easy to
read and follow.

Monty

-----Original Message-----
From: jagad [mailto:jagad at enciety.com] 
Sent: Wednesday, October 01, 2003 6:52 AM
To: ANTLR Milis
Subject: RE: [antlr-interest] stuck expr

Hi Monty, 
Thanks for your fast response.
BTW, the parser still stuck even I use the file as input.

When I try with input:

(1+2),(1+3);

NUM_INT
term
PLUS
NUM_INT
term
simpleExpr
expr
( expr )
term
simpleExpr
expr          <---- end, the COMMA and (1+3) is not process

Best Regards

jagad






 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list