Thicket thicket
ocaml
REPOS 5

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

W16.2026 · 13–19 AprOxCaml

Features

  • OxCaml metaprogramming (beta): Runtime metaprogramming is now beta. The REPL drops the double-semicolon requirement after #syntax quotations on; three Translquote fatal errors report gracefully. (#5843, #5801, #5823)

  • OxCaml name mangling: Merged a reversible mangling scheme encoding full module paths into symbol names. De-manglers exist for LLVM, GDB, addr2line, and ocamlfilt. (#5099)

  • OxCaml functor inlining: Merged separate small/large size thresholds for functor inlining (large default ≈ 7 500). Reduces speculative-inlining time on large functors. (#5878)

  • OxCaml scannable axes: Merged: scannable axes now compute nullability and separability; mod bounds meet rather than override multiple axes. Bumps mixed-block version. (#5169)

  • OxCaml layout polymorphism: Merged sort-variable serialization, fatal_error on uninstantiated layout vars, and the -Ix include-path flag. Open PRs add let poly_ functions and static persistent modules. (#5835, #5817, #5654, #5870, #5834)

  • OxCaml preemption: Open PR adds an effects-based preemption mechanism: a domain is preempted at the next GC poll point via a Preemption effect. ARM backend support included. (#4881)

  • OxCaml opam-repository: Open PR proposes an oxcaml-patch-guards package to replace per-package conflicts, allowing multiple patched versions of upstream dependencies in one switch. (#27)

Fixes

  • Merlin signature help (optional args): Merged: highlights the correct optional argument when preceding labelled arguments are already written, instead of always showing the first labelled parameter. Downstreamed from #2032. (#216)

  • Merlin signature help (let-in): Merged: triggers on unfinished let … in bindings where the in keyword is missing. (#215)

  • OxCaml caml_modify: Merged: skips caml_modify calls on non_pointer fields, improving codegen for unboxed types. Record-representation comparison relaxed to scannable-axes equality. (#5831)

Compatibility

  • OxCaml 5.4 merge: Multiple open and merged PRs advance the upstream 5.4 merge: runtime merge draft, Iarray re-oxidation, effect-syntax compilation fix, caml_raise_async correction, and testsuite resolutions. (#5598, #5882, #5880, #5846)

  • Merlin compiler sync: Open PR merges compiler changes from 5.2.0minus-37, including parsing of both -I and -Ix include flags. (#234)