Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W50.2025 · 8–14 Decocsigen/js_of_ocaml

Features

  • js_of_ocaml WASI runtime (PR #1831): Open proposal adding --enable wasi to wasm_of_ocaml, producing Wasm binaries runnable by Wizard or wasmtime. Output follows the existing foo.js / foo.assets convention.
  • js_of_ocaml Wasm eval (PR #2108): Open proposal to expose the JavaScript eval function from the Wasm runtime. No merged change yet.

Fixes

  • js_of_ocaml 5.5.0 stack overflow (#2122): Menhir-generated parsers trigger a stack overflow in Chrome on macOS; Safari and Node.js are unaffected. A compilation-scheme change is suspected. Issue remains open.

Compatibility and Releases

  • js_of_ocaml opam (PR #2134): Merged 2025-12-11. The wasm_of_ocaml opam package now depends on conf-binaryen instead of building binaryen-bin from source, allowing use of distribution-provided tools.
  • js_of_ocaml number type (#2136): The new number_t type from #1650 breaks existing code that relied on implicit float/int conversion. No compatibility flag exists; users must insert explicit conversions.
  • js_of_ocaml LICENSE (#2137): Open report of a typo in the LGPL exception text (Clause 3 should read Clause 2) and a version mismatch on line 12. No fix merged yet.