update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / c2hs / DESCR
1 C->Haskell is an interface generator that simplifies the development of Haskell
2 bindings to C libraries. The tool processes existing C header files that
3 determine data layout and function signatures on the C side in conjunction with
4 Haskell modules that specify Haskell-side type signatures and marshaling
5 details. Hooks embedded in the Haskell code signal access to C structures and
6 functions -- they are expanded by the interfacing tool in dependence on
7 information from the corresponding C header file. Another noteworthy property
8 is the lightweight nature of the approach.