[antlr-interest] Re: [antlr-dev] ANTLR 3 Tool behavior

Terence Parr parrt at cs.usfca.edu
Fri May 26 11:29:15 PDT 2006


On May 26, 2006, at 9:59 AM, Matt Benson wrote:

> This may be best related to the Ant task thread, but I
> started a new one.  I wanted to throw out some
> thoughts regarding the way the Tool currently works,
> and see if anything came of it... it seems that ANTLR
> is basically designed such that your grammar files are
> in your source tree.  Obviously there are the output
> directory switches, but there is still weirdness if,
> e.g. you have two grammar files, Parser/Lexer and
> TreeParser, in a directory separate from your source
> tree, and want the source for all three generated
> elsewhere.  My perspective here may very well be naive
> so any thoughts anyone has on this subject are
> appreciated.

Well, you can process one by one pulling from other dir or writing to  
other dir.  You can also do *.g from command line etc...  Should be  
able to handle things..
Ter



More information about the antlr-interest mailing list