
On Sat, Jan 23, 2010 at 01:02:07AM -0200, Maurício CA wrote:
bindings-DSL is a mature and well documented preprocessor domain specific language you can use to generate bindings to a C API. It's based on functionality provided by hsc2hs. These are links to Hackage page and documentation:
http://hackage.haskell.org/package/bindings-DSL http://bitbucket.org/mauricio/bindings-dsl
Much thanks for this lovely package. I'm currently using it to write a low-level Direct3D9 binding and thus far it's very friendly. The only thing I've missed for now is a #ccall equivalence for "stdcall" functions, I hacked one up myself and called it #stdcall, but it would be nice to have in the package proper if possible. Keep up the good work, -- Lars Viklund | zao@acc.umu.se