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/0.5.1.tar.gz sha256=20b6a4c93cacf239e0122498d681ca695aca3d6de984b8596fc9fadd25af75cd sha512=3f0338eb641f668627927ab86df328359faefc12e0186c0e06da5ab3ec0866e33e3c488ab2365fd234a3eda9e41f19b329ba7f137acb36ddcf774c6591905c50 |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocaml-emcc/ocaml-emcc.0.5.1/opam |
No package is dependent


