Tools covers builds, package management, editors, documentation and JavaScript compilation.
W25.2025 · 16–22 Jun/ocsigen/js_of_ocaml
Features
js_of_ocaml (PR #1594): Merged. Propagates function arity across compilation units via shape annotations in generated JS. Load shapes with --load-shape FILE.cma.js. Closes #550.
js_of_ocaml (PR #2052): Merged. Adds finer control over jsoo compiler warnings. Fixes #1863.
js_of_ocaml (PR #2044): Merged. Optimizes calls to statically known functions in Wasm output.
js_of_ocaml (PR #2047): Opened. Extends shape propagation to work with dune build support. Stacked on PR #1594.
js_of_ocaml (PR #2054): Opened. Proposes combined Wasm function optimizations: float/integer unboxing, parameter passing, return-value unboxing, and comparison specialization.
Fixes
js_of_ocaml (PR #2039): Merged. Fixes method lookup cache corruption in separate compilation where multiple units shared the same cache slot.
js_of_ocaml (PR #2053): Merged. Corrects WAT debug output that was incorrect due to shared context mutation during partial application.