[antlr-interest] Trouble using backtracking (I think)

Terence Parr parrt at cs.usfca.edu
Tue Apr 22 12:47:09 PDT 2008


On Apr 22, 2008, at 12:18 PM, Loring Craymer wrote:

> Use of backtracking forces ANTLR into LL(1) mode; the inserted  
> synpreds then do not help if a first alternative matches the second  
> alternative completely;  thus

Actually it only uses LL(1) if LL(*) fails even with backtracking. :)

Ter


More information about the antlr-interest mailing list