On the other hand, you didn't say much about the tool that you're already using
to generate code. If you can hack your current code generator (or write a
pre/post-processor for that tool), maybe you should do that instead. It all
depends on what you're trying to do.