[antlr-interest] Path for tokenVocab
Terence Parr
parrt at cs.usfca.edu
Mon Aug 13 15:18:18 PDT 2007
On Aug 13, 2007, at 2:01 PM, David Holroyd wrote:
> So, it would be *really* nice if the tokenVocab option value could
> take
> a 'package prefix',
>
> e.g.
> tokenVocab=org/example/SomeGrammar;
> or
> tokenVocab=org.example.SomeGrammar;
>
>
> Is a change like this possible? Should I try to implement it?
Hi David, an interesting suggestion. I am just trying to catch up on
e-mail now that I'm back from Colorado...
Hmm...the problem is that I envisioned the tokenVocab as a grammar
name not a file name. We'd really need org/example/
SomeGrammar.tokens...hmm...Can you list multiple patterns in the -lib
option? (can't remember if I have implemented that).
Ter
More information about the antlr-interest
mailing list