Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W41.2026 · 5–11 OctOxCaml

Features

  • Stacked PRs add grammar, typing, and morphism translation for mode-polymorphic annotations such as 'a @ [< 'm] -> 'a @ [> 'm]. The typechecker rejects non-constant modes. (#7502, #7503, #7504, #7461)

  • Merged tests pin omnidirectional constructor disambiguation behaviour. Open PRs add Scheduler/Ivar/Tivar infrastructure and labeled tuple projections as the first expression-level client. (#7372, #7418, #7432)

  • The reaper splits into traverse, solve, and rebuild stages; cross-unit calls defer to rebuild. Merged groundwork covers analysis-scope parameterisation; open PRs add -support-lto, -reaper-solve, -reaper-rebuild. (#7240, #7244, #7260, #7496, #7264, #7268)

  • Four open PRs introduce an experimental SSA-based backend: post-dominator computation, loop analysis, inter-block move support, and a partial dead-code-elimination pass. (#7514, #7515, #7517, #7518)

  • A new -bytecode-hints flag stores Lambda-level metadata (block immutability, closure layouts, immediate-ness) in a HINT section of .cmo files for downstream compilers. (#7509)

  • Address pattern syntax addr_ and addr_imm_ is merged for parsing. Open PRs add type-checking and lambda translation via Pget_ptr. (#7410, #7456, #7458)

  • A prototype FDO implementation and counter types are in open PRs, introducing pseudo-instrumentation for branch and switch-case profiling. (#7395, #7462)

Fixes

  • Merged: jkind constraints are rechecked after manifest refinement, rejecting unsound instantiations. Open: kind constraints propagate through with-bounds for bidirectional application typechecking. (#7338, #7363)

  • Merged: #62 updates all oxcaml-compiler patches to apply without fuzz, resolving the ignore-opam.patch line-number drift that broke Dune builds. The faulty 5.4.0-ox2 patch is replaced with the 5.4.0-ox7 pattern.

Compatibility

  • Closed (not merged): #51 and #60 addressed the same Dune patch failure; both superseded by #62. Dune's pure-OCaml patch implementation (#14177) made line-number mismatches fatal.

  • Closed (not merged): #36 proposed 5.4.1 as a bootstrap compiler variant. Superseded by #42, which selects the closest OxCaml commit recipe.