hsc2hs

Version 0.68.10 revision 3 uploaded by AndreasAbel.

Package meta

Synopsis
A preprocessor that helps with writing Haskell bindings to C code
Description

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 the hsc2hs section in the GHC User's Guide.

Author
Marcin Kowalczyk <qrczak@knm.org.pl>
Bug reports
https://github.com/haskell/hsc2hs/issues
Category
Development
Copyright
2000, Marcin Kowalczyk
Homepage
n/a
Maintainer
ghc-devs@haskell.org
Package URL
n/a
Stability
n/a

Components