[antlr-interest] Re: A newbie question about warning:nondeterminism and Parser

Xue Yong Zhi seclib at seclib.com
Wed Jan 25 12:28:26 PST 2006


Jean-Francois Allard wrote:
> Sorry, forgot to diseable HTML editor in previous post...
> 
> --------------------------------------------------------------
> 
> Hi,
> 
>    I am working on a grammar for a very small query language.  The 
> problem I get is that for this language, operators (and or) may sometime 
> be a litteral, sometime be part of the condition expressions.
> 

You need to give some examples of the language. If the ambiguities can 
be avoided based on the "context", you can use syntax predict and 
semantic predict.

-- 
Xue Yong Zhi
http://seclib.blogspot.com



More information about the antlr-interest mailing list