C family foreign function interface generator for OCaml
OCaml Objective-C C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
unused
.gitignore
Makefile
README.md
TODO.md
c.ml
cCode.ml
cCode.mli
cEmbedded.ml
cEmbedded.mli
cExpr.ml
cExpr.mli
cPrinter.ml
cPrinter.mli
cPrinter_test.ml
caml.ml
prettyPrinter.ml
prettyPrinter.mli
scratch.ml
test.ml
zimt.ml
zimt.mltop
zimtCaml.ml
zimtCaml.mli
zimtEnum.ml
zimtEnum.mli
zimtEnv.ml
zimtEnv.mli
zimtExpr.ml
zimtExpr.mli
zimtModule.ml
zimtModule.mli
zimtPrinter.ml
zimtPrinter.mli
zimtStruct.ml
zimtStruct.mli
zimtType.ml
zimtType.mli

README.md

C family foreign function interface generator - ocaml-zimt

Disclaimer: This is a toy projects and a work in progress. I basically try to use every feature OCaml 4.0 has to offer.

An OCaml foreign-function interface generator for the C language family. The idea is to simplify the process of manually wrapping C libraries by writing the interface in a DSL, which in turn generates the necessary OCaml and C files. The DSL makes heavy use of generalized algebraic data types.