[antlr-interest] Specify directory for importVocab

John Reid j.reid at mail.cryst.bbk.ac.uk
Wed May 16 09:57:01 PDT 2007


> Terence Parr wrote:
>>
>> try java org.antlr.Tool.  Should give list of args.
>>
>> Use -lib i think.
>>
I beginning to think you mean the -glib argument for super grammars? I'm 
talking about a way of specifying where the TokenTypes.txt files are.

E.g. if I execute
java antlr.Tool BiobaseLexer.gl in the directory where 
CommonTokenTypes.txt is then everything works as expected.

I would like to execute this command from elsewhere and specify where 
the CommonTokenTypes.txt file is.

Is this possible?

Thanks,
John.



More information about the antlr-interest mailing list