[antlr-interest] file names and grammar names

Terence Parr parrt at cs.usfca.edu
Thu May 18 10:52:00 PDT 2006


On May 18, 2006, at 2:01 AM, Sam Barnett-Cormack wrote:
>> What would lexer grammar file names look like? Foo.lexer.g (like   
>> those
>> coming out of combined grammars)?
>
> I would say that it would be sensible for, say, Foo.g to be able to
> contain FooParser, FooLexer, and FooTreeParser, for example.

I decided that, since I need to find grammars and vocabs, it is  
better to keep it as 1 grammar, 1 file.

Ter


More information about the antlr-interest mailing list