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> |
|---|---|
| Licenses | MIT and LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception |
| 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/1.0.3.tar.gz sha256=d68b5338757a5333521fd288dfddca815201fc0cf2ee42ee2bf39e460ea9362e sha512=42f3d09e4a98059851ef9ac81f390d97120243d87ff6986954f409f3acce01b35c54b6691d13770f55ec88399475cf0ec269ae681ba07d4a4d19c7b3b11a999c |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocaml-emcc/ocaml-emcc.1.0.3/opam |
No package is dependent


