Thicket thicket
ocaml
REPOS 1

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

W21.2026 · 18–24 Mayocsigen/js_of_ocaml

Features

  • js_of_ocaml Promise/Fetch bindings: #2239 adds Promise, Fetch, and Abort modules to the standard library, with Lwt interop via Js_of_ocaml_lwt.Promise. Open, under review.

  • js_of_ocaml loop extraction: #2245 extracts outermost loops from the toplevel function into helper closures so engines tier up small helpers instead of the full init code. Benefits both JavaScript and Wasm output. Open; supersedes closed #2212.

  • js_of_ocaml --build-config output: #2247 omits keys at their default value in --build-config output, keeping dune-derived paths within Windows MAX_PATH. Open.

Fixes

  • js_of_ocaml --effects=double-translation: #2243 adds a trampoline for direct-style mutual recursion to prevent stack overflow at depth. Confirmed working by a user with a menhir-generated parser. Open.

  • js_of_ocaml Wasm codegen: #2246 and #2244 (both merged) fix a closure environment type name collision and bound handler traversal to the dominator subtree, respectively.

Compatibility and Releases

  • js_of_ocaml Oxcaml update: #2225 (merged) updates Oxcaml to 5.2.0minus31, correcting caml_simd_float32_min_bytecode to match x86 MINSS NaN and ±0 semantics.

  • js_of_ocaml 6.4 release: #2241 tracks the upcoming 6.4 release targeting OCaml 5.5, listing PRs #2231, #2239, #2225, #2070, #2159, and #2240 as candidates.