greencard: A foreign function interface pre-processor for Haskell
Green Card is a foreign function interface preprocessor for Haskell, simplifying the task of interfacing Haskell programs to external libraries (which are normally exposed via C interfaces).
To interface to an external function using Green Card, you write a small procedure specification. The specification tells Green Card what (Haskell) type you want to give the function together with details of how the arguments (and results) to the Haskell function should be marshalled to and from the data representation used by the external function. Green Card will then generate gobs of low-level boilerplate code that takes care of all the details.
This package supplies the executable, greencard
, which needs GHC.
For the Foreign.GreenCard library, you need to install this first and then you can
install greencard-lib (greencard-lib requires the greencard binary already installed).
[Skip to Readme]
Downloads
- greencard-3.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 3.0.1, 3.0.1.1, 3.0.2, 3.0.3, 3.0.4, 3.0.4.1, 3.0.4.2 |
---|---|
Dependencies | array, base (>3), containers, pretty, process [details] |
Tested with | ghc ==6.8.2 |
License | BSD-3-Clause |
Author | Alastair Reid, Sigbjorn Finne, and Thomas Nordin |
Maintainer | Alastair Reid <alastair@reid-consulting-uk.ltd.uk>; Sigbjorn Finne <sof@galois.com> |
Category | Development |
Home page | http://www.haskell.org/greencard/ |
Uploaded | by GwernBranwen at 2008-03-10T06:22:16Z |
Distributions | |
Reverse Dependencies | 3 direct, 0 indirect [details] |
Executables | greencard |
Downloads | 7341 total (2 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2017-01-03 [all 7 reports] |