[antlr-interest] starting with language translation

David Holroyd dave at badgers-in-foil.co.uk
Thu Mar 13 08:12:10 PDT 2008


On Thu, Mar 13, 2008 at 12:48:23PM +0100, benzo wrote:
> 5. what is your personal favorite way doing that? stringtemplate? are
> there simpler methods?

For tasks outside of ANTLR-based ASTs, I actually created a specific
library for generating ActionScript 3 code,

  http://www.badgers-in-foil.co.uk/projects/metaas/

If you're committed to using ANTLR for the whole job (which with ANTLR's
new support for tree-to-tree transformations is not unrealistic) then
using StringTemplate is a pretty good choice too, due to better
integration with ANTLR at the grammar definition level.


ta,
dave

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


More information about the antlr-interest mailing list