The hsc2hs package
The hsc2hs program can be used to automate some parts of the process of writing Haskell bindings to C code. It reads an almost-Haskell source file with embedded special constructs, and outputs a real Haskell file with these constructs processed, based on information taken from some C headers. The extra constructs provide Haskell counterparts of C types, values of C constants, including sizes of C types, and access to fields of C structs.
For more details, see http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html.
|Versions||0.67.20061107, 0.67.20120610, 0.68|
|Change log||None available|
|Dependencies||base (==4.*), containers (>=0.2 && <0.5), directory (>=1 && <1.2), process (>=1 && <1.2) [details]|
|Copyright||2000, Marcin Kowalczyk|
|Author||Marcin Kowalczyk <email@example.com>|
|Uploaded||Wed Aug 15 16:42:29 UTC 2012 by ThomasDuBuisson|
|Downloads||835 total (11 in last 30 days)|
|Status||Docs not available [build log]|
All reported builds failed as of 2015-11-13 [all 5 reports]
- hsc2hs-0.67.20120610.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees