Thicket thicket
ocaml
REPOS 5

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

W41.2025 · 6–12 Octoxcaml/oxcaml

Features

  • OxCaml runtime quotations: PR #4395 (merged) adds <[, ]> syntax with stage tracking in the type system. PR #4874 (merged) enables evaluation via ocaml-jit for runtime metaprogramming.
  • OxCaml name mangling: PR #4850 (open) proposes a reversible scheme reconstructing full module paths, including submodules, from mangled symbols.
  • OxCaml ikind system: PR #4675 (open) adds prototype subsumption and mode-crossing algorithms behind -extension ikinds, targeting polymorphic variant and GADT performance.
  • OxCaml with-bounds: PR #4847 (merged) re-enables with-bounds for polymorphic variants, fixing a fuel-algorithm pathology causing quadratic type expansion.
  • OxCaml block indices: PRs #4827, #4826 (merged) move block indices to stable and type flattened float fields with unboxed element types. PR #4828 adds %unsafe_get_ptr and %unsafe_set_ptr.

Fixes

  • OxCaml CFG terminator: PR #4772 (merged) rewrites unconditional-then-conditional jumps as one conditional. PR #4807 (open) extends this with a known-values map to eliminate redundant for-loop comparisons.
  • OxCaml Multicore.spawn: PR #4875 (merged) requires the resource argument to be contended, fixing a soundness gap in the API.

Compatibility and Releases

  • OxCaml 5.2.0minus-22: PR #4876 (merged) bumps magic numbers. PR #4877 (opened) restores over-expunged toplevel modules such as Float_u and Iarray.