The hsc2hs package

[Tags:bsd3, program]

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.

Properties

Versions 0.67.20061107, 0.67.20120610, 0.68
Dependencies base (==4.*), containers (>=0.2 && <0.6), directory (>=1 && <1.3), filepath (>=1 && <1.5), process (>=1.1 && <1.5) [details]
License BSD3
Copyright 2000, Marcin Kowalczyk
Author Marcin Kowalczyk <qrczak@knm.org.pl>
Maintainer ghc-devs@haskell.org
Stability Unknown
Category Development
Bug tracker https://ghc.haskell.org/trac/ghc/newticket?component=hsc2hs
Uploaded Tue Apr 19 14:52:58 UTC 2016 by HerbertValerioRiedel
Distributions NixOS:0.68
Downloads 855 total (7 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees