[antlr-interest] generated class/file names..

Terence Parr parrt at cs.usfca.edu
Thu Apr 12 12:03:04 PDT 2007


On Apr 12, 2007, at 9:56 AM, Christopher D. Rickett wrote:

> hi all,
>
> i asked a while back how to get antlr 3.0b6 to use the grammar  
> names provided for the names of the generated classes/files, but  
> did not get a response, so i'll ask again.  i have separate  
> grammars for the lexer and parser, and would like antlr to generate  
> the class names to match the names provided.  this is what  
> antlr-3.0b4/5 did.  is there a way to make 3.0b6 behave the same way?

Nope.  grammar T goes to TParser or TLexer or T for parser, lexer,  
and tree grammars.

Ter



More information about the antlr-interest mailing list