Thicket thicket
ocaml
REPOS 1

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

W03.2026 · 12–18 Janoxcaml/oxcaml

Features

  • OxCaml modalities: Merged mode constraints for curried functors, applying the restrictive (a -> b -> c) @ mode form for soundness. (#5230)
  • OxCaml ARM64 backend: Merged a rewritten typed DSL with register and instruction constraints enforced by the OCaml type system. (#5193)
  • OxCaml preemption: Open PR adding native effects-based preemption; user code can request domain preemption, performed at the next GC poll point. (#4881)
  • OxCaml typedtree: Open PR adding mode/modality annotation source locations to Typedtree, enabling Merlin to display mode syntax on hover. (#5218)
  • OxCaml Chamelon: Merged improved minimizers for match constructs, including a new reduce-pat pass that removes branches from match arms. (#5212)

Fixes

  • OxCaml mode solver: Fixed non-commutativity in meet and join by replacing Varmap.map with a sequential fold over mode variables. (#5233)
  • OxCaml Cmm switch: Fixed constant switch optimisation not triggering after inlining by detecting branches that jump to a shared continuation. (#5200)

Compatibility and Releases

  • OxCaml kind system: Merged separability into the layouts extension, removing the separate toggle; Array.get is now zero-alloc in upstream-compatible code. (#5231)