OxCaml covers the compiler extensions and their supporting tools and packages.
W17.2026 · 20–26 Apr/OxCaml
Features
OxCaml mixed block v6: All-value/void mixed records and variants now compile to uniform blocks, restoring poly compare and marshaling. The 254-value field limit is lifted. (#5774)
OxCaml zero-alloc parameters:[@zero_alloc] extended to higher-order function arguments with an explicit arity requirement. Front-end type checking only; no back-end changes. (#5493)
OxCaml diamond-aware hints: Mode hint branch selection now handles diamond-shaped lattices in Meet/Join hints, producing correct pinpoint values in error messages. Merged 2026-04-24. (#5858)
OxCaml copy propagation: New optional CFG pass deletes single-use temporaries before register allocation. Off by default; removes ~3% of moves with linscan, ~5% with greedy. (#5914)
OxCaml preemption: Runtime effects-based preemption updated with an arm64 port and verified 256-bit register tests. A follow-up for preemptible fibers is open. (#4881, #5913)
Merlin (scannable axes): Merged PR adds syntax-doc support for scannable axes, extending Merlin's documentation feature to the experimental scannable-axes language extension. (#235)
OxCaml opam-repository (patch-guards): A version of the oxcaml-patch-guards system was pushed to main. It replaces per-package conflict clauses with auto-generated guard packages, allowing multiple patched upstream versions to coexist. (#27)
Fixes
OxCaml kind annotation check: A kind annotation on an existential in a pattern could silently narrow its declared kind, causing segfaults. A matching check is now added. (#5935)
OxCaml opam-repository (constraint fixes): Updates to ocamlbuild, async_ssl, alcotest, sedlex, topkg, and uutf resolve constraint errors when compiling upstream packages. (#23)
OxCaml opam-repository (coinstallability): Missing zarith.1.14+ox dependencies added; obuild and lwt.6 removed alongside the OxCaml compiler. Pushed to main. (#32)
Compatibility
Merlin (5.2.0minus-37 merge): Merged PR incorporates compiler changes from 5.2.0minus-37. Merlin now parses both -I and -Ix flags, a requirement from #5654. (#234)
janestreet/opam-repository: Open PR redirects the opam-repository reference from a deprecated branch to the OxCaml-specific repository. Unmerged. (#75)