[antlr-interest] Change in output location with 3.0b7

David Holroyd dave at badgers-in-foil.co.uk
Mon Apr 16 13:57:46 PDT 2007


On Mon, Apr 16, 2007 at 11:58:07AM -0400, Martin Fowler wrote:
> I've been intending to write a little program to walk my src directory 
> and use the API to generate output files if necessary in a corresponding 
> gen directory (which I can keep out of version control). (I have a lot 
> of them as I'm exploring lots of alternative langauges and parsers 
> within the same project). If nothing else I guess this makes me want to 
> do it. But if there's an easier way to do this or someone's already done 
> it do let me know ;-)

Maven?  Here's a plugin for ANTLRv3,

  http://maven.badgers-in-foil.co.uk/sites/maven-antlr3-plugin/

I just released 0.2 to create the output files in the 'right' place,
thinking that this change in recent ANTLRs was intended :-)

It implements dependant builds, but does not yet use inter-grammar
dependencies to control the build order for multiple grammars.


ta,
dave

-- 
http://david.holroyd.me.uk/


More information about the antlr-interest mailing list