[Haskell-cafe] code generation

Antoine Latter aslatter at gmail.com
Tue Oct 21 11:50:01 EDT 2008


2008/10/20 z ghost <zghost123 at yahoo.com>:
> hello, im interested in using haskell to generate code and make
> little AI applications for fun..
>
> is anyone already doing this sort of thing? it would be fun to collaborate
> with people on this.
>

I've been doing some work with Haskell code-generation in Haskell, but
I've been using the haskell-src package to do it instead of Template
Haskell, as I've been generating whole modules at a time.

I have a bunch of convenience functions that I use over here:

http://community.haskell.org/~aslatter/code/xhb/HaskellCombinators.hs

It doesn't have a very consistent API, though.  Let me know if you
have any questions about it.

-Antoine


More information about the Haskell-Cafe mailing list