bindings-DSL

FFI domain specific language, on top of hsc2hs. https://github.com/jwiegley/bindings-dsl/wiki

Version on this page:1.0.21
LTS Haskell 15.14:1.0.25
Stackage Nightly 2020-05-31:1.0.25
Latest on Hackage:1.0.25

See all snapshots bindings-DSL appears in

BSD-3-Clause licensed by MaurĂ­cio C. Antunes
Maintained by John Wiegley

Module documentation for 1.0.21

This version can be pinned in stack with:[email protected]:16c7f656e4c0a977d686d694d5a7b04aa95257270acf97145fa69339337de516,1505
  • Bindings
    • Bindings.Utilities

This is a set of macros to be used when writing Haskell FFI. They were designed to be able to fully describe C interfaces, so that hsc2hs can extract from them all Haskell code needed to mimic such interfaces. All Haskell names used are automatically derived from C names, structures are mapped to Haskell instances of Storable, and there are also macros you can use with C code to help write bindings to inline functions or macro functions. Documentation is available at package homepage:

https://github.com/jwiegley/bindings-dsl/wiki

The extra module Bindings.Utilities will contain tools that may be convenient when working with FFI.

Depends on 1 package(full list with versions):
Used by 2 packages in lts-0.7(full list with versions):