GreenCardHaskell foreign function interface preprocessor | |
Download |
GreenCard Ranking & Summary
Advertisement
- License:
- BSD
- Price:
- FREE
- Publisher Name:
- GreenCard Team
- Publisher web site:
- http://www.haskell.org/greencard/
- Operating Systems:
- Mac OS X
- File Size:
- 60 KB
GreenCard Tags
GreenCard Description
Haskell foreign function interface preprocessor GreenCard is a free and open source FFI preprocessor for Haskell that simplifies the task of interfacing Haskell programs to external libraries (which are normally exposed via C interfaces).To interface to an external function using GreenCard, you write a small procedure specification. The specification tells GreenCard what (Haskell) type you want to give the function together with details of how the arguments (and results) to the Haskell function should be marshaled to and from the data representation used by the external function. GreenCard 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). Requirements: · GHC
GreenCard Related Software