Thicket thicket
ocaml
REPOS 5

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

W16.2026 · 13–19 Aproxcaml/oxcaml

Features

OxCaml layout polymorphism: Merged infrastructure for sort-variable serialization, fatal_error on uninstantiated layout vars, and the -Ix include-path flag that will gate layout-poly library calls. Open PRs add let poly_ function support and make persistent modules static. (#5835, #5817, #5654, #5870, #5834)

OxCaml preemption: Open PR provides an initial effects-based preemption mechanism: a domain can be preempted at the next GC poll point, performing a Preemption effect that resumes silently if unhandled. ARM backend support is included. (#4881)

OxCaml scannable axes on abstract kinds: Open PR allows nullability/separability upper bounds (e.g. k mod separable) on abstract kinds, enabling signatures like ('a : k mod separable). 'a array -> 'a. Overrides remain a type error. (#5874)

OxCaml SSA/CFG backend: Draft SSA variant of the CFG and an experimental empty-loop-deletion pass (induction-variable analysis + termination proof) are open. The latter eliminates loops whose induction variable is unused outside indexing. (#5810, #5840)

OxCaml metaprogramming (beta): Runtime metaprogramming upgraded from alpha to beta. The REPL no longer requires a double semicolon after #syntax quotations on, and three Translquote fatal errors (class types, type-constraint patterns, layout poly) now report gracefully. (#5843, #5801, #5823)

OxCaml structured name mangling: Merged a reversible mangling scheme that encodes full module paths (including submodules) into symbol names. De-manglers exist for LLVM, GDB, addr2line, and a pure-OCaml ocamlfilt. (#5099)

OxCaml functor inlining: Merged separate small/large size thresholds for functor inlining (large default ≈ 7 500). Reduces speculative-inlining time on large functors; function return-type tracking at -O3 still applies. (#5878)

Fixes

OxCaml caml_modify for non_pointer: Merged: skips caml_modify calls on non_pointer fields, improving codegen for unboxed types. Record-representation comparison is relaxed to scannable-axes equality to avoid spurious type errors after with-substitution. (#5831)

Compatibility and Releases

OxCaml 5.4 merge: Multiple open and merged PRs advance the upstream 5.4 merge: runtime merge draft, Iarray re-oxidation, effect-syntax compilation fix, caml_raise_async correction, and testsuite resolutions. (#5598, #5882, #5880, #5846)

OxCaml scannable axes (merged): Merged: scannable axes now compute nullability and separability, with mod bounds meeting (not overriding) multiple axes. Bumps mixed-block version. (#5169)