Haskell module for SWIG
Alastair Reid
alastair at reid-hoffmann.net
Tue Jun 29 12:44:22 EDT 2004
> I'd like to make Haskell bindings for some C library and I'm wondering if
> someone was/is thinking about writing Haskell support for SWIG or the
> present Haskell tools provide better route for such a task(s)?
I think the general feeling is that your best bets are to use the raw ffi or
to use one of the existing preprocessors. hsc2hs is probably the most
popular approach these days and was used for most of the libraries that come
with ghc, hugs, etc.
You can get more information about tools from this page:
http://www.reid-consulting-uk.ltd.uk/docs/ffi.html
--
Alastair Reid
More information about the Glasgow-haskell-users
mailing list