[antlr-interest] Way to "cut" parsing?
apalala at gmail.com
Tue Oct 16 14:58:24 PDT 2012
Without backtracking, then the techniques I explain in the article I sent to
> you will work for this. Give it a try.
Will do. Just to be sure, what I have to do is to add a *catch* clause to
the rules in which I want parsing to be cut, and customize recovery (or
remove recovery) there. Right?
> You may also be using to heavy handed
> lookaheads. A lot of people will write:
> (rule)=>rule when they in fact only need (X|Y|Z)=>rule
Guilty as charged! I will look into that too.
More information about the antlr-interest