Thicket thicket
ocaml
REPOS 5

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

W12.2026 · 16–22 MarOxCaml

Features

  • OxCaml metaprogramming: merges beta-reducing eval in type expressions, adding Tquote_eval to distribute evaluation through concrete type constructors. (#5402)
  • OxCaml modes: open PR introduces write and observable modes, making visibility and statefulness axes into diamonds with partial ordering. (#5608)
  • OxCaml unboxed reprs: experimental draft adds constructor-level [@repr immediate], [@repr null], [@repr pointer], and [@repr value] annotations for allocation-free variant encodings. (#5678)
  • OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, update-level) into type inference behind -extension mode_polymorphism_alpha. (#5483)
  • OxCaml optimization fuel: open PR adds OPT_FUEL_RECORD, OPT_FUEL_THRESHOLD, and OPT_FUEL_FAIL environment variables plus a fuel_bisect.py driver for binary-searching miscompiling optimization steps. (#5651)

Fixes

  • OxCaml CamlinternalQuote: merges fixes for seven printing bugs (missing integer suffixes, wrong guard keyword, unparenthesized negatives, lost variant tags) plus a second round of parenthesization corrections. (#5649, #5660)

Compatibility and Releases

  • Merlin: merges OCaml compiler 5.2.0minus-34 changes, updating the codebase for compatibility with that compiler snapshot. Merged by liam923. (#225)
  • OxCaml eval architecture: open PR replaces the [%eval] extension point with a library function Eval.eval : 'a expr -> 'a eval, adding -requires-metaprogramming and -uses-metaprogramming linker flags. (#5657)
  • OxCaml staging+GADTs: open chain tracks environment stage during typing, forbids spliced-type instantiation, and removes local constraints on stage regression. (#5641, #5586, #5643)