[antlr-interest] speaking of => etc...

mental at rydia.net mental at rydia.net
Thu Dec 8 12:27:53 PST 2005


Quoting Bill Canfield <canfield at computer.org>:

> Olivier Dragon wrote:
> > (...)?             optional subrule
> > (...)#>            syntactic predicate
> > {...}>>            hoisting disambiguating semantic predicate
> > {...}=>            gated semantic predicate
>
> I agree with Olivier, ()? is a time-honored convention.  I hope
> the ANTLR 2 conventions of ()?, ()*, and ()+ would be carried
> forward.

I'm not fond of #> and >> specifically (they don't seem very
mnemonic to me), but otherwise this is better than the approach I
suggested.

-mental


More information about the antlr-interest mailing list