[antlr-interest] Re: SQL grammar, help on ambig warns

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Aug 30 14:19:10 PDT 2002


on 8/26/02 23:59, lgcraymer at lgc at mail1.jpl.nasa.gov wrote:

>> I just do all my best to keep grammar k=1 and avoid syntax
> predicates to get
> 
> The k value affects ANTLR grammar analysis much more than it affects
> generated code.  Setting k=50, for example, can cause the analysis to
> take "forever" to generate code from an input grammar, but the
> generated code does not change (if k is already large enough to remove
> ambiguities).  In your case, k=2 may be a good choice:  "LPAREN
> unsigned_integer" may not be ambiguous.

I have just only read this words.

This is totally new info for me!

It must be added to docs of ANTLR

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list
send a letter to valentina-on at lists.macserve.net
-------------------------------------------------------------


 

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



More information about the antlr-interest mailing list