[antlr-interest] The power of backtracking in ANTLR

Michael Bedward michael.bedward at gmail.com
Mon Feb 15 00:29:42 PST 2010


Hi Søren,

> Though, perhaps it's the backtrack=true that makes it LL(*) rather than
> LL(k), which would make sense?

That's my understanding - yes.

Hi Gavin,

> Or you put in the appropriate look-ahead predicates yourself.

I deliberately didn't mention predicates :-)  Partly to just try to
answer the question that Søren was asking, and partly, as a constant
beginner myself, I find that my grammars are much more readable and
maintainable without lots manually added predicates.

Michael


More information about the antlr-interest mailing list