package ocaml-emcc

  1. Overview
  2. No Docs
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:

Dependencies (2)

  1. ocaml >= "4.08"
  2. dune >= "3.11"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None