Thicket thicket
ocaml
REPOS 5

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

W33.2026 · 10–16 AugOxCaml

Features

  • Vox specification stack (closed 2026-08-14, moved to fork) introduces refinement types t{ p }, an SMT-LIB/z3 solver layer, a Bigint module, and comonadic/monadic mode axes. All pieces are inert; no typing rules discharged yet. Stack #6796 · #6787 · #6788 · #6789 · #6790 · #6791

  • SSA intermediate representation between Cmm and CFG, controlled by -use-ssa (temporarily on by default). A Cfg_compare validator checks register-equivalence against the legacy pipeline; forced off under -llvm-backend. #5810 (open)

  • Signature mode variables are now rigid during moregen, closing a soundness gap where a less mode-polymorphic implementation was accepted against a more polymorphic signature. The prior runtime Partial_application_mode_mismatch_in_lambda is now a static Signature mismatch. #6279 (open)

  • An idempotent addressable kind operator distinguishes block-represented kinds (pointer-takeable) from tagged immediates. Enables ptr_of on bits8 addressable boxes while rejecting int8# boxes. #6712 (open)

  • Compare-and-branch poll points are replaced by a double load through a PROT_NONE trigger page; a SIGSEGV handler rewrites context into a GC-entry call. Saves 6–12 bytes per poll on AMD64; --disable-faulting-safepoints opts out. #6551 (open)

  • caml_add_extent registers external memory as GC-managed blocks with a free callback. Unloading of metaprogramming CUs treats each unloadable unit as a scannable heap region, freeing code and data when unmarked at end of major cycle. #6248 · #5960 (open)

  • Match-in-match umbrella issue #4405 closed 2026-08-13. New proposals: materialise let-bindings post-specialisation to remove replay history (#6742) and specialise continuations ending in apply-cont to unblock triggering (#6741).

  • Induction-variable finding, termination proof, and dead-IV proof eliminate empty for loops entirely. Stacked on the SSA IR; requires -cfg-merge-blocks. #5840 (open)

Fixes

  • Updates the dune-ignore patch for oxcaml-compiler after an upstream implementation change invalidated the existing patch. Applies to the -ox2 variant only. #60 (open, by shunueda)