[Haskell-cafe] generating foreign Code (Java, C++, PHP)?

Vo Minh Thu noteed at gmail.com
Tue Sep 7 08:14:28 EDT 2010

2010/9/7 Günther Schmidt <gue.schmidt at web.de>:
> Hi list,
> I noticed that there are some libs / packages like atom and HJscript which
> allow you to write a program in a haskell EDSL and that then actually
> generates valid source code in another language. In the above example that
> would be JavaScript and C.
> I sure would love to be able to write PHP for instance like that but I
> cannot even fathom how a EDSL would have to be designed for it.


Probably, the very first thing is to know what purpose the EDSL would
serve. For instance, Atom is not meant as a general purpose
replacement for C. Do you have something specific in mind?


More information about the Haskell-Cafe mailing list