[antlr-interest] file names and grammar names
Terence Parr
parrt at cs.usfca.edu
Wed May 17 16:58:04 PDT 2006
Currently you can name your grammar file anything and then have any
grammar name inside. E.g., t.g can have
grammar Foo
in it. When we go looking for other grammar vocabularies etc... it
would be nice to be able to tell (like Java does) from the filename
what's inside...
Do people think I should force the grammar name (including case) to
be same as filename (with .g suffix)?
Ter
More information about the antlr-interest
mailing list