hsc2hs: A preprocessor that helps with writing Haskell bindings to C code

[ bsd3, development, program ] [ Propose Tags ]
Versions 0.67.20061107, 0.67.20120610, 0.68, 0.68.1, 0.68.2, 0.68.3
Dependencies base (<4) [details]
License BSD-3-Clause
Copyright 2000, Marcin Kowalczyk
Author Marcin Kowalczyk <qrczak@knm.org.pl>
Maintainer cvs-fptools@haskell.org
Revised Revision 1 made by HerbertValerioRiedel at Sat Nov 26 20:36:26 UTC 2016
Category Development
Uploaded by RossPaterson at Tue Nov 7 10:19:40 UTC 2006
Distributions NixOS:0.68.3
Executables hsc2hs
Downloads 7859 total (159 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 7 reports]
Hackage Matrix CI

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.orgghcdocslatesthtmlusers_guide/hsc2hs.html


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees