Projects / C->Haskell


C->Haskell is an interface generator that simplifies the development of Haskell bindings to C libraries. The tool processes existing C header files that determine data layout and function signatures on the C side in conjunction with Haskell modules that specify Haskell-side type signatures and marshaling details. Hooks embedded in the Haskell code signal access to C structures and functions; they are expanded by the interfacing tool in dependence on information from the corresponding C header file.

Operating Systems

Recent releases

  •  26 Dec 2007 22:15

    Release Notes: Assorted updates, enhancements, and bugfixes.

    •  07 Aug 2005 15:26

      Release Notes: This release has a completely new build system using Cabal, has a much faster C parser, generates bindings independent of an extra library, and fixes some bugs.

      •  18 May 2005 15:54

        Release Notes: Support for GHC 6.4 (with the Cabal package system) was added.

        •  13 Oct 2004 13:37

          Release Notes: This version generates binding code which complies with version 1.0 of the Haskell FFI Addendum. It can handle C function bodies in header files. The target directory for generated files is now selected in a consistent manner. A major space leak was fixed. A couple of minor bugfixes were made.

          •  10 Jun 2003 08:30

            Release Notes: This version introduces CPP directives, including support for conditional compilation, as well as inline C code in binding modules. Moreover, GHC 6.0 is supported.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.