[Mono-list] Question on Code Generation

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Apr 6 22:28:14 EDT 2009


On Mon, Apr 6, 2009 at 7:00 PM, anton123 <niniendowarrior at gmail.com> wrote:
>
> I'm wondering if there's a Mono substitute/counterpart to CodeSmith (or if
> Mono does support CodeSmith).  I'm hoping it might since I'm anticipating a
> lot of code-generation heavy work.  Can anyone shed some light?

I don't know whether CodeSmith runs on Mono, though it must be able to
generate code that will run on Mono, so if you're writing code on
Windows, then it might be a good choice.

If you're in Linux/Mac, or you need more flexibility to customise and
ship the generator, then check out Mono's implementation of Visual
Studio's T4 (Text Template Transformation Toolkit) system:
http://tirania.org/blog/archive/2009/Mar-10.html

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list