With actifsource you can write generator-templates for any programming language. actifsource ships with a number of predefined ready-to-use language syntax styles, so you get complete syntax-highlighting.
Currently the following languages are supported:
Ada
C#
C
C++
Cobol
D
Delphi
Eiffel
Erlang
Groovy
Haskell
OmgIdl
Pascal
Perl
Php
Python
Ruby
Scala
Sql
VisualBasic
Modula2
Oberon
Adding additional styles is easy and straight-forward.