[antlr-interest] [BUG] ANTLR-2.7.5 hang...

Terence Parr parrt at cs.usfca.edu
Tue May 31 11:29:42 PDT 2005


Hi...I'm swamped at the moment trying to get 3.0 early-access out,  
but if you have large lookahead, ANTLR will take forever.  Try a  
syntactic predicate for the tough areas.  I'd stay with k=3 or  
something for large grammars.

Ter

On May 30, 2005, at 6:32 PM, Lloyd Dupont wrote:

> I have this simple (ahum) grammar which hang during  
> compilation..... I mean while creating antlr -glib ".."  
> ObjectiveCGrammar.g
>
> any idea?
> maybe I used a lookahead too big? (I'll try smaller ones..)
> <cgram.tgz>

--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com



More information about the antlr-interest mailing list