c2hs

C binding generator

A tool that generates Haskell bindings to C libraries by analyzing their header files

c2hs is a pre-processor for Haskell FFI bindings to C libraries

GitHub

199 stars
16 watching
51 forks
Language: Haskell
last commit: 10 months ago

Related projects:

Repository Description Stars
chetant/libclang A Haskell FFI binding to the C++ libclang library for working with source code analysis and manipulation. 58
haskell-gi/haskell-gi Generates Haskell bindings for GObject Introspection capable libraries 293
haskell-ci/haskell-ci Generates CI workflows for multiple versions of the Haskell programming language compiler 438
chrispenner/json-to-haskell A tool to automatically generate Haskell data types and instances from JSON schema 81
capsadmin/ffibuild Utility to generate FFI bindings from C headers 59
google/ghc-source-gen A Haskell library for generating source code and code fragments based on the GHC API 91
haskell/ghcup-hs A tool for installing and managing the Glasgow Haskell Compiler (GHC) 293
wavewave/fficxx A tool that generates Haskell interfaces to C++ libraries and types, allowing users to access C++ code from Haskell without manual FFI implementation. 141
sdilts/cl-bindgen A tool for generating FFI wrappers from C header files for Common Lisp 26
def-/ghc-vis A tool to visualize live Haskell data structures in GHCi 136
skogsbaer/hscurses Provides a Haskell interface to the ncurses library for managing an application's display on character-cell terminals. 61
mchakravarty/language-c-inline A Haskell library that allows inline C and Objective-C code in Haskell programs 146
blynn/compiler A tool for bootstrapping and compiling self-hosting Haskell compilers from a minimal C compiler. 214
vmchale/cpkg A build tool and package manager for C languages with cross-compilation support 68
augustss/microhs An implementation of an extended subset of the Haskell programming language for embedded systems and minimalistic execution environments. 373