Cog: language-neutral code generator
by Kevin Dangoor
Here’s a Python Success Story describing Cog, an easy-to-use code generation system. It’s written in Python, but it can mark up files in any language (the author’s project apparently has 4 different languages in use). This looks nicely done and useful for a variety of applications.