[antlr-interest] Antlr 3.0b3: lexer super class & "all" scope suggestion for @header

Terence Parr parrt at cs.usfca.edu
Mon Aug 14 11:07:34 PDT 2006


On Aug 13, 2006, at 9:30 AM, Richard Musiol wrote:

> Hi,
>
> I tired to migrate my current project to ANTLR 3 today, but it  
> already failed at the beginning. The current beta 3 hasn't got a  
> way to change the super class of the lexer. This is important to  
> me, when will it be possible?

Added to list.

> Another thing I want to suggest is an "all" scope for the @header  
> property. I think @header is mostly used for the package  
> declaration and some imports. These are typically the same for  
> lexer and parser, so why should I write the code twice in a mixed  
> grammar.

Imports can be very different.
Ter



More information about the antlr-interest mailing list