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

Søren Andersen soren.andersen at gmail.com
Thu Apr 1 12:51:47 PDT 2010


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


More information about the antlr-interest mailing list