[antlr-interest] The unary not (~) vs. W3C EBNF dash operator
Johannes Luber
jaluber at gmx.de
Mon Oct 8 09:24:35 PDT 2007
Andreas Ravnestad wrote:
> On 10/8/07, Johannes Luber <jaluber at gmx.de> wrote:
>> ANTLR doesn't support this dash notation. For now the only correct way
>> is create the subset manually.
>>
>> Best regards,
>> Johannes Luber
>>
>
>
> I see, how unfortunate :) Being new to ANTLR, I am not quite sure how
> to "create the subsets manually". Could you point me to an example?
>
> -Andreas
>
I don't know any example. I would simply create a rule which matches the
subset without the referencing the "parent"
Best regards,
Johannes Luber
More information about the antlr-interest
mailing list