mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
f915eb8c11
Approved by: dwcjr (mentor)
14 lines
666 B
Plaintext
14 lines
666 B
Plaintext
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. Another noteworthy property
|
|
is the lightweight nature of the approach.
|
|
|
|
WWW: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
|
|
|
|
-- Oliver Braun
|
|
obraun@FreeBSD.org
|