Thicket thicket
ocaml
REPOS 5

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

W24.2026 · 8–14 JunOxCaml

Features

  • New -use-ssa flag inserts an SSA IR between Cmm and CFG, with a Cfg_compare validator checking register-equivalence against the legacy pipeline. Currently on by default; defaults will flip before merge. #5810

  • Proposal to add EVEX encoding, 512-bit ZMM register modelling, and an opmask (k0–k7) register class to the amd64 SIMD backend. Width-parametric design targets AVX10 transition. #6257

  • Implements let poly_ f x = … translation through typedtree, tlambda, and slambda using kind templates and closure conversion. The simple static evaluator handles the generated slambda. #5870

  • Adds caml_add_extent(base, size, free_callback) to the internal runtime API, allowing external code to register pre-initialised blocks for GC management. Draft for design discussion. #6248

  • Treats unloadable compilation units as scannable heap regions with explicit dependency edges; the major GC unloads a unit when no Code_block or data block remains marked. Uses back-pointers in .text and a Code_pointer machtype. #5960

  • Pure-OCaml command-line tool that reverses OxCaml's flat0, flat1, and structured name-mangling schemes with automatic per-symbol detection. Reads symbols from stdin or arguments; unrecognised input passes through unchanged. #5100

  • Remaining Dune-built packages added to the OxCaml opam repository, completing the set needed to build OxCaml tooling under Dune. Merged 2026-06-11. #49

Compatibility

  • The merge-upstream-5.4 branch is merged into main, bringing the OxCaml frontend in line with OCaml 5.4. A follow-up merge of main back into the 5.4 branch also landed the same day. #5325

  • Dune's stricter patch implementation (ocaml/dune#14177) invalidated OxCaml's build patch. A temporary workaround pins a dummy oxcaml-dune package to sidestep a dependency conflict during dune lock. Open, updated 2026-06-12. #51