I am also very interested in this. I think it would be a lot easier to develop a clean, well-factored compiler in Java, and we'd get the easier cross-platform usage.
If you get us over the initial parser hump, I'll gladly contribute time to porting the ruby and java code generators. Make a ticket? On Thu, Aug 26, 2010 at 1:54 PM, Bjorn Borud <[email protected]> wrote: > > on the project I currently work on we have a (ANTLR-based) parser for > the Thrift IDL language in order to generate code for a proprietary > serialization library. > > it struck me that perhaps we could use this parser the implement the > Thrift compiler in Java instead. this would mean that the thrift > compiler itself could be built as a platform independent artifact -- > which should make it a lot more elegant to write Maven plugins for > Thrift. it would also eliminate the need (for us) to maintain Thrift > compiler binaries for all platforms and versions of the compiler. > > currently the parser lacks some minor features, but this could easily be > rectified. the real job is to add the code generation for various > languages. > > if anyone is interested in this, I am going to talk to some people > tomorrow to get formal approval for open sourcing it. > > any thoughts? > > -Bjørn > >
