ocaml-emccversion Documentation on ocaml.org

Compile OCaml programs with C stubs to WebAssembly with emscripten

ocaml-emcc runs OCaml bytecode on an emscripten build of ocamlrun and links the C stubs of the program and of its dependencies statically, which makes FFI-heavy libraries (zarith/gmp, apron, libclang...) usable in the browser and in node. The runtime is rebuilt from the sources of the switch's own compiler (any version from 4.08, including 5.x), C libraries come from recipes. Requires the emscripten SDK (emsdk) in PATH.

Authorrboudrouss <r.boudrouss@gmail.com>
LicenseMIT
Published
Homepagehttps://github.com/rboudrouss/ocaml-emcc
Issue Trackerhttps://github.com/rboudrouss/ocaml-emcc/issues
Maintainerrboudrouss <r.boudrouss@gmail.com>
Dependencies
Source [http] https://github.com/rboudrouss/ocaml-emcc/archive/refs/tags/0.4.0.tar.gz
sha256=fa9b85d77d66d76846aaae01910ae0cd5fa714991d977b5ab9e681a40faf4534
sha512=9b8b97c4db79ea13ed32cbb3946d77bd6c9368ac54bee9de9da868b86d4403e184c63be55c53c879c0e043e86a0972bfbe6041a84902b004c1204f87ed006299
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocaml-emcc/ocaml-emcc.0.4.0/opam
No package is dependent