AutoGen - A tool designed for generating program files that contain repetitive text with varied substitutions. This is especially valuable if there are several blocks of such text that must be kept synchronized. [Open Source
CodeSmith - A freeware template-based code generator that can generate code for any ASCII-based language. CodeSmith templates use a syntax nearly identical to ASP.NET syntax so that creating templates should feel immediately familiar to ASP.NET developers.
CodeWorker - A parsing tool and a source code generator works on generative programming. It offers facilities for building a DSL
innoQ iQgen - A software generator that imports model information in XMI format and generates software artifacts
Jostraca: A Template Engine for Generative Programming - A general purpose code generation toolkit for software developers. It uses JSP syntax and can be configured to use a number of different programming languages. [Open source