Package Info

ghc-bindings-DSL


FFI domain specific language, on top of hsc2hs


Unspecified

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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/bindings-DSL

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.0.25-bp155.2.16 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-bindings-DSL
  • ghc-bindings-DSL-devel
1.0.25-bp154.1.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-bindings-DSL
  • ghc-bindings-DSL-devel
1.0.23-bp150.2.5 info GA Release 2018-08-01 15
  • AArch64
  • ghc-bindings-DSL
  • ghc-bindings-DSL-devel
1.0.23-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-bindings-DSL
  • ghc-bindings-DSL-devel