OxCaml covers the compiler extensions and their supporting tools and packages.
W15.2026 · 6–12 Apr/OxCaml
Features
OxCaml (or_null): Merged. Adds user-defined [@@or_null] declarations with custom constructor names, reusing the Variant_with_null representation. Accepts two-constructor types with one nullary and one unary constructor. (#5668)
OxCaml (unboxed reprs): Open PR proposes constructor-level [@repr null], [@repr immediate], [@repr pointer], and [@repr value] annotations for allocation-free variant encodings. (#5678)
OxCaml (mixed blocks): Open PR compiles all-value/void mixed records and variants as uniform blocks, enabling poly compare and marshalling. Removes the 254-value mixed block limit for these types. (#5774)
OxCaml (mode polymorphism): Open PR integrates level-relation operations into type inference behind -extension mode_polymorphism_alpha. Mode variables are functional but not yet printed. (#5483)
OxCaml (concurrency): Open draft PR adds a unique_implies_uncontended jkind/ikind axis so @ unique values can be used as @ uncontended when no @@ aliased modality intervenes. (#5716)
OxCaml (layout poly): Merged. Adds Texp_apply_layout to the typedtree, exposing layout instantiation to users and recording it for later passes. (#5634)
Fixes
OxCaml (Flambda2 n-way join): Merged. Fixes missing CSE at n-way join points by introducing extra params for variables created there. Resolves duplicate %is_int primitives. (#5751)
Merlin (magic number mapping): Merged. Updates the Caml1999I576 mapping from 5.2.0minus-35 to 5.2.0minus-36 to match the new compiler tag. (#231)
Compatibility
Merlin (OCaml 5.4): Merged. Upgrades to OCaml 5.4; requires ocamlformat 0.29.0 because 0.28.x over-reformats. (#227)
OxCaml opam-repository (bootstrap): Open PR proposes bumping the bootstrap compiler to 5.4.1 in ocaml-variants.opam. Reviewers note this breaks the 5.2.0minus-25 tag workflow, which requires the 4.14.2 bootstrap. (#36)
OxCaml opam package (janestreet): Open PR updates the package source to the OxCaml opam-repository, replacing a deprecated branch reference. (#75)