Thicket thicket
ocaml
REPOS 9

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

W05.2025 · 27 Jan – 2 FebTools

Features

  • Merlin (PR #1891, open): proposes a get_all function returning all jump targets in a buffer, reducing repeated client-to-server round trips. Closes issue #1817.
  • Merlin (PR #1890, open): introduces a dedicated typer domain for partially parallel typing computations, with interruption handling for invalidated requests.
  • ocaml-lsp (PR #1461, open): replaces per-target recursive checks in Jump Code Actions with a single batched query; reported response times drop from 523 ms to 244 ms. Depends on #1891.
  • odoc (PR #1297, open): adds png, pdf, and jpeg image support to the LaTeX backend for internal assets.
  • odoc (PR #1295, open): introduces a Menhir-based parser to replace the existing one; still requires fixes per src/parser/TODO.md.
  • Dune (PR #11408, open): proposes dune tools env to emit a PATH update for local dev-tool binaries, and dune tools exec ocamllsp to launch the LSP with that PATH.

Fixes

  • Merlin (PR #1882, merged): fixes the locate query so that when two files share identical content digests, the file whose path most closely matches the build artifact path is selected.

Compatibility

  • Merlin (PR #1888, merged): renames Texp_hole to Texp_typed_hole and Tmod_hole to Tmod_typed_hole, resolving a constructor conflict with ocaml-flambda. Breaking change for code referencing the old names.
  • ocaml-lsp (PR #1451, merged): moves Typed_holes handling into Merlin, complementing the Merlin rename above. Code referencing the old identifiers must be updated.
  • ocaml-lsp-server (issue #1462, open): Dune 3.17.2 writes INDEX, SOURCE_ROOT, and UNIT_NAME configuration tags that ocaml-lsp-server 1.10.5 on OCaml 4.13 does not recognise. Maintainer recommends OCaml 4.14 or an older Dune.
  • ocaml-lsp-server (issue #1459, open): build fails on FreeBSD 14.2 with OCaml 4.14.2 because the vendored ev.c includes sys/statfs.h, absent on that platform.