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.
|Tags||Software Development Code Generators|
Release Notes: Assorted updates, enhancements, and bugfixes.
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.
Release Notes: Support for GHC 6.4 (with the Cabal package system) was added.
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.
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.