Thicket thicket
ocaml
REPOS 5

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

W01.2026 · 29 Dec 2025 – 4 Jan 2026OxCaml

Features

Oxcaml dissector: Merged linking pass partitions object files to keep 32-bit relocations valid via intermediate GOT/PLT sections. Enabled with -dissector; avoids large code model instruction bloat. (#5146)

Oxcaml ikinds: Introduces LDD-based algorithms for kind subsumption and mode crossing, replacing the previous approach. Under active review; uses zero-suppressed decision diagrams for lattice operations. (#5159)

Oxcaml scannable axes: Adds non_pointer, non_pointer64, and non_float as first-class scannable axes for unboxed types, computing nullability and separability automatically. Awaiting internal benchmarking before merge. (#5169)

Oxcaml arm64 emitter: Adds a machine-code emitter for arm64 with a typed DSL enforcing constraints via the OCaml type system. Refactors ocaml-jit to be architecture-independent, enabling JIT on arm64. (#5177, #5193, #5186)

Oxcaml preemption: Implements runtime, effects-based preemption allowing user schedulers to preempt domains without explicit yielding. A Preemption effect fires at the next GC point; unhandled preemptions resume execution rather than raising. (#4881)

Oxcaml repr_ types: Adds front-end support for layout-polymorphic types via the repr_ keyword, introducing Ptyp_repr and Ttyp_repr AST nodes. Types are currently uninhabited; instantiation is deferred to follow-up work. (#5068)

Fixes

Oxcaml stage checks: Adds stage-lock checking for record and unboxed record labels, preventing values from being constructed in incorrect stages across quotation boundaries. Splits stage locks into a separate type within the environment. (#5158)

Oxcaml or_null separability: Fixes imprecise kind assignment for 'a or_null instances where the parameter is non_pointer or non_float, narrowing to scannable non_pointer & value. Removes an ad-hoc patch in check_decl_jkind. (#5178)