Sam, This is excellent: I've been itching to replace the generated code generator with a template (so that I could generate HTML help, or code in other languages). Is there any reason we couldn't fold this into the Avro code base entirely? (I think "avrogen" could take a template parameter, with the default template for most purposes, but custom or otherwise blessed ones otherwise.) I'd be happy to review and curate it through the process.
-- Philip On Fri, Jun 11, 2010 at 2:39 PM, Sam Pullara <[email protected]> wrote: > I found the shape of the generated Avro files to be not exactly what I was > looking for so I started a small project to use a template system to > generate the Avro classes. It is far from complete, only handles my use > cases so far but I thought people might be interested in checking it out: > > http://github.com/spullara/avrocompiler > > As long as you keep the base shape matching what the Avro runtime expects > you can add whatever else you need. > > Sam > > >
