[antlr-interest] Nondeterminism error for high rules

Kyungsun Han kyungsunh at yahoo.com
Thu Mar 13 13:21:33 PST 2003


Thanks a lot. It works. 
Kyungsun 

--- mzukowski at yci.com wrote:
> Using syntactic predicates:
> 
> command_or_definition
> 		:	(command)=>command
> 		|	(definition)=>definition
>  		|	syntax_definition
> 		;
> 
> Also be sure to study the generated code to see the
> lookahead tests which
> antlr calculated to decide which alternative to
> choose.  From there you can
> sometimes figure out a simpler syntactic predicate
> to use.
> 
> Monty


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

 

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



More information about the antlr-interest mailing list