Thicket thicket
ocaml
REPOS 9

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

W39.2026 · 21–27 SepTools

Features

  • js_of_ocaml (open): a recursive-descent JavaScript parser replaces the Menhir-based one. Accepts all valid test262 programs; rejects invalid programs the old parser accepted.

  • ocaml-lsp (open): Topiary added as a formatting backend. Full-document reformat on each request; range formatting unsupported.

  • merlin (merged): the enclosing LSP Selection Range command now selects sub-expressions incrementally instead of jumping to the full parent node. Nested type constraints appear as separate layers.

Compatibility

  • js_of_ocaml (merged): Js_traverse.free is now an iterator, not a mapper. Breaking change for compiler-library consumers; the returned program is no longer a copy.

  • dune (proposal): a job_slots rule exposes a slot count via environment variable for polyglot sub-builds. Requires a new dune language version; expected in 3.26.

  • opam (merged): cudf upgraded to 0.11~rc1, removing the extlib dependency from the solver stack for the 2.7 release.

Fixes

  • js_of_ocaml (merged): JS syntax errors report as file:line:col with the offending source line. Runtime-file parse errors no longer surface as uncaught Failure exceptions.

  • js_of_ocaml (merged): (a?.b).c no longer prints as a?.b.c in generated code, which changed runtime semantics.

  • opam (open): sandbox escape when the first command argument starts with a dash. Linux fix requires bubblewrap ≥ 0.3.0; 2.6 backport closed without merge.

  • dune (merged, ships in 3.25): dune build with a (menhir …) stanza and dune pkg (relocatable compiler) no longer fails with Unbound module Stdlib on macOS.

  • dune (merged): Menhir parsers can now serve as foo/foo.ml group interfaces under include_subdirs qualified. Closes #8989, open since 2023.

  • odoc: odoc 3.0.0 build failure against OCaml 5.4 resolved by #1355. Caused by Typedtree.package_type and Tpat_alias signature changes.