[antlr-interest] superClass usage
Paul Keir
paul at paulkeir.com
Wed Nov 14 12:13:31 PST 2007
Great, a grammar include would be perfect. I look forward to giving it a
spin.
P
Kay Röpke wrote:
>
> On Nov 14, 2007, at 12:23 AM, Paul Keir wrote:
>
>> Thanks Oti. Yeah, I finally realised I was hoping for too much from
>> superClass. It seems like grammar inheritance is only something for
>> the antlr wishlist.
>
>
> not as much as you think.
> Terence has done a lot of work in that area lately.
>
> It works differently, not by inheritance but with delegation. It's
> more like an include of a grammar. Guess he's best qualified to
> comment of what the current state is in the Java target.
>
> cheers,
> -k
More information about the antlr-interest
mailing list