[antlr-interest] still more => wars ;)

Terence Parr parrt at cs.usfca.edu
Fri Dec 9 09:44:35 PST 2005


On Dec 8, 2005, at 10:58 PM, MenTaLguY wrote:

> On Thu, 2005-12-08 at 17:16 -0600, Chris Black wrote:
>> (...) => syntactic predicate
>> {...} => semantic predicate
>> {...} ?=> hoisting disambiguating semantic predicate
>> {...} *=> gated semantic predicate
>
> I tend to favor this scheme.  As Chris said, (...) is syntactic, {...}
> is semantic, and arrow means predicate.  I don't think I'd forget that
> easily.
>
> I wonder whether we could do different types of arrows here, though,
> rather sticking funny tails on them?
>
> e.g.:
>
>  predicate: =>
>  hoisting disambiguating predicate: ->
>  gated predicate: >>

Don't forget folks that -> is the rewrite operator.

a : A B -> B A ;

Ter


More information about the antlr-interest mailing list