[antlr-interest] LL(k) --- what is k?

Terence Parr parrt at cs.usfca.edu
Thu Apr 1 12:54:06 PDT 2010


Hi. IThink that -report option will help you some with statistics.
Ter
On Apr 1, 2010, at 12:51 PM, Søren Andersen wrote:

> I have perhaps a strange question :)
> 
> I'm using ANTLR as part of my thesis, and one of the things I'd like to know (though not strictly necessary) is, when ANTLR is not in backtracking mode (being LL(*)) and it is instead "just" LL(k), is there any way to get ANTLR to *tell* you what said k is?
> 
> It would be quite interesting to know and compare the needed lookahead for different languages!
> 
> Thank you in advance,
> 
> Søren Andersen
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list