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.
| Author | rboudrouss <r.boudrouss@gmail.com> |
|---|---|
| License | MIT |
| Published | |
| Homepage | https://github.com/rboudrouss/ocaml-emcc |
| Issue Tracker | https://github.com/rboudrouss/ocaml-emcc/issues |
| Maintainer | rboudrouss <r.boudrouss@gmail.com> |
| Dependencies | |
| Source [http] | https://github.com/rboudrouss/ocaml-emcc/archive/refs/tags/0.2.0.tar.gz sha256=feaa41ce99d7446a162d50a1906b3ad8a7b407b93fca0f260593e457025b5dbb sha512=684017ed1b7bf7fd1c88ca63937852ba01512539f03d24551a9643733d9f203ad10a534e42cf4d1a20c05d6b55b4cad3a61c76d0188d9bbae4b5b56ecb30033f |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocaml-emcc/ocaml-emcc.0.2.0/opam |
No package is dependent


