package ocaml-emcc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Compile OCaml programs with C stubs to WebAssembly with emscripten
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
sha256=feaa41ce99d7446a162d50a1906b3ad8a7b407b93fca0f260593e457025b5dbb
sha512=684017ed1b7bf7fd1c88ca63937852ba01512539f03d24551a9643733d9f203ad10a534e42cf4d1a20c05d6b55b4cad3a61c76d0188d9bbae4b5b56ecb30033f
Description
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.
Added to opam-repository:
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page