[antlr-interest] file names and grammar names

Prashant Deva prashant.deva at gmail.com
Wed May 17 18:25:24 PDT 2006


Does this mean we will be forced to have separate files for parser and lexer
grammars?

On 5/18/06, Terence Parr <parrt at cs.usfca.edu> wrote:
>
> On May 17, 2006, at 5:24 PM, Kay Roepke wrote:
> > On 18. May 2006, at 2:13 Uhr, Terence Parr wrote:
> >
> >> Good point.  It would have to go like this:
> >>
> >> T.g:
> >> grammar T;
> >>
> >> TLexer.g:
> >> grammar TLexer;
> >
> > Ok, so the naming of the implicit lexer in combined grammars would
> > have to change, too, right?
>
> Yup.
>
> Ter
>



-- 
Prashant Deva
Creator, ANTLR Studio
Founder, Placid Systems, www.placidsystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060518/69fdfec3/attachment-0001.html


More information about the antlr-interest mailing list