[antlr-interest] superClass usage

Terence Parr parrt at cs.usfca.edu
Wed Nov 14 08:44:40 PST 2007


On Nov 14, 2007, at 5:32 AM, 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.

it should work; grab a daily...3.1 will be ready in near future.   
Waiting on target developers.

Ter



More information about the antlr-interest mailing list