Name: hsc2hs Version: 0.67 Copyright: 2000, Marcin Kowalczyk Build-Depends: base, directory, process License: BSD3 License-File: LICENSE Author: Marcin Kowalczyk Maintainer: cvs-fptools@haskell.org 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 . Category: Development Data-Files: template-hsc.h build-type: Simple cabal-version: >=1.2 Flag base4 Description: Choose the even newer, even smaller, split-up base package. Flag base3 Description: Choose the new smaller, split-up base package. Executable hsc2hs Main-Is: Main.hs -- needed for ReadP (used by Data.Version) Hugs-Options: -98 Extensions: CPP, ForeignFunctionInterface if flag(base4) Build-Depends: base >= 4 && < 5 if flag(base3) Build-Depends: base >= 3 && < 4 if !flag(base3) && !flag(base4) Build-Depends: base < 3 if flag(base3) || flag(base4) Build-Depends: directory >= 1 && < 1.1, process >= 1 && < 1.1 Build-Depends: haskell98