[antlr-interest] importVocab/exportVocab

Terence Parr parrt at jguru.com
Sat Nov 16 16:15:34 PST 2002


On Monday, August 26, 2002, at 05:52  AM, Jan Suchotzki wrote:

> Hello,
>
> I would like to export a vocabulary and import it in a package one 
> hierarchy
> level lower. Example:
>
> Directory src:
>
> package: org.test.parser parser-lexer.g        exportVocab test
> package: org.test.parser.tree tree-parser.g  importVocab test
>
> Is this possible? How do I make it?

I had this same problem myself the other day.  I'm not sure how to 
"fix" this as -glib can only refer to a grammar.  I had to make that 
explicit so I knew from which grammar to derive.  For vocabs, do we 
need a new option -vlib that indicates the dir where we should look for 
xxxTokenTypes.txt?

Ter


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list