[antlr-interest] Reg LR-style expression parsing in wiki

Gavin Lambert antlr at mirality.co.nz
Sun Feb 21 12:14:56 PST 2010


At 08:18 22/02/2010, Gokulakannan Somasundaram wrote:
 >   I was looking at the wiki page
 ><http://www.antlr.org/wiki/display/~admin/2008/03/23/Faster+expression+parsing+for+ANTLR>
 >   The syntax suggested seems to have left recursion.  Can 
someone
 >clarify me on that?

It's a proposal, not an example of current implementation.

Have a look at 
<<http://www.antlr.org/wiki/display/ANTLR3/Expression+evaluator>http://www.antlr.org/wiki/display/ANTLR3/Expression+evaluator> 
or 
<<http://www.antlr.org/wiki/display/ANTLR3/Operator+precedence+parser>http://www.antlr.org/wiki/display/ANTLR3/Operator+precedence+parser> 
instead. 



More information about the antlr-interest mailing list