[antlr-interest] Changing look ahead depths?

Albert Huh albert.huh at embarcadero-ca.com
Thu Feb 6 14:29:31 PST 2003


Is it possible to reduce the look ahead depth for specific rules for k>1?

At times I find I only need to look ahead one token, but the parser always tries to look ahead more than that thus generating ambiguities in certain cases.

Any thoughts?  Criticisms?

Albert

 

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



More information about the antlr-interest mailing list