[antlr-interest] ANTLRWorks generate parser and lexer with command line invocation (for build automation)

Jim Idle jimi at temporal-wave.com
Thu Aug 16 13:30:15 PDT 2012

I don't think that the ant task for ANTLR is working any more but you might try that. Maven is much easier if you can use it. 

However you want the antlrcomplete jar then type

Java -jar antlrcomplete.jar 

And it will give you all the options. 


On Aug 16, 2012, at 1:01 PM, Menelaos Perdikeas <mperdikeas at gmail.com> wrote:

> Hi,
> I am trying to automate my build process and would like to be able to
> invoke ANTLRWorks from the command line, pass it a grammar *.g file and
> instruct it where to place the generated parser and lexer files. The idea
> being that an Ant script can then be used to build my project from the
> source control repository (where I only keep the *.g file and not the
> generated parser / lexer) instead of requiring me to manually fire up
> ANTLRWorks and do point-and-click with the mouse before the build can start.
> Is this possible?
> Rgrds,
> Menelaos.
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address

More information about the antlr-interest mailing list