Thicket thicket
ocaml
REPOS 1

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

W03.2026 · 12–18 Janocsigen/js_of_ocaml

Features

js_of_ocaml shell completion: merged PR #2140 installs cmdliner tool-support files for js_of_ocaml and wasm_of_ocaml into share_root, enabling shell autocompletion after opam install.

js_of_ocaml trunk support: issue #2142 opened by hhugo requesting support for the OCaml trunk toolchain, referencing #14469.

js_of_ocaml WASI runtime: PR #1831 (open, updated in interval) adds wasm_of_ocaml --enable wasi to produce WASI binaries runnable via wasmtime -W=all-proposals=y or the Wizard engine.

js_of_ocaml Stack Switching: PR #1832 (open, updated in interval) generates Wasm using the Stack Switching proposal for effects, requiring Binaryen ≥ 124.

Fixes

js_of_ocaml Wasm unmarshalling: merged PR #2141 corrects unmarshalling of compressed data in the Wasm runtime.

js_of_ocaml JS parser: PR #2143 opened by hhugo to modernise the JS parser toward the spec, fixing arrow functions in for-loop initialisers (#2139). Not yet merged within this interval.

Compatibility

js_of_ocaml number type migration: issue #2136 closed 2026-01-16; the new number type introduced in #1650 breaks prior code, and no opt-out switch to old behaviour is provided.