[antlr-interest] disambiguating sempred in a closure?

Terence Parr parrt at cs.usfca.edu
Fri Dec 21 15:18:06 PST 2007


On Dec 21, 2007, at 3:13 PM, Terence Parr wrote:

> results in DFA predictor:
>
> <Celeb.dec-2.pdf>
>
> The preds are hoisted out of the subrule inside (...)* and used to  
> control exit.  3rd alt (exit) is implicit.

correction: 2nd alt is exit.  1st alt is subrule.The =>1 means  
"predicts alt 1".

Ter


More information about the antlr-interest mailing list