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.4.0.tar.gz
sha256=fa9b85d77d66d76846aaae01910ae0cd5fa714991d977b5ab9e681a40faf4534
sha512=9b8b97c4db79ea13ed32cbb3946d77bd6c9368ac54bee9de9da868b86d4403e184c63be55c53c879c0e043e86a0972bfbe6041a84902b004c1204f87ed006299

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