The HSFFIG package

[ Tags: bsd3, ffi-tools, library, program ] [ Propose Tags ]

Haskell FFI Binding Modules Generator (HSFFIG) is a tool that parses C library include files (.h) and generates Haskell Foreign Functions Interface import declarations for all functions, #define'd constants (where possible), enumerations, and structures/unions (to access their members). It is assumed that the GNU C Compiler and Preprocessor are used. Auto-generated Haskell modules may be imported into an application to get access to the foreign library's functions and variables.

The package provides a small library that programs using auto-generated imports have to link to (specify HSFFIG as one of build-depends), and two executable programs:

Please note that hsffig and ffipkg will likely not work properly with C++ include files.

Properties

Versions 1.1, 1.1.2, 1.1.3
Dependencies array, base (>=4), Cabal (>=1.5), containers, directory, filepath, parsec (<3), process, unix [details]
License BSD3
Copyright 2005 - 2009, Dimitry Golubovsky
Author Dimitry Golubovsky
Maintainer golubovsky@gmail.com
Category FFI tools
Home page http://www.haskell.org/haskellwiki/HSFFIG
Uploaded Fri May 29 02:45:41 UTC 2009 by DmitryGolubovsky
Distributions NixOS:1.1.3
Executables testparser, hsffig, ffipkg
Downloads 1218 total (111 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees