3 Copyright: 2000, Marcin Kowalczyk
4 Build-Depends: base, directory, process
7 Author: Marcin Kowalczyk <qrczak@knm.org.pl>
8 Maintainer: cvs-fptools@haskell.org
9 Synopsis: A preprocessor that helps with writing Haskell bindings to C code
11 The hsc2hs program can be used to automate some parts of the
12 process of writing Haskell bindings to C code. It reads an
13 almost-Haskell source file with embedded special constructs, and
14 outputs a real Haskell file with these constructs processed, based
15 on information taken from some C headers. The extra constructs
16 provide Haskell counterparts of C types, values of C constants,
17 including sizes of C types, and access to fields of C structs.
20 http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html
22 Data-Files: template-hsc.h
26 -- needed for ReadP (used by Data.Version)
28 Extensions: CPP, ForeignFunctionInterface