Thicket thicket
ocaml
REPOS 5

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

W41.2025 · 6–12 OctOxCaml

Features

  • OxCaml runtime quotations: PRs #4395 and #4874 (merged) add <[, ]> syntax with stage tracking and ocaml-jit evaluation 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; 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 for for-loop comparisons.
  • OxCaml Multicore.spawn: PR #4875 (merged) requires the resource argument to be contended, closing a soundness gap in the API.
  • opam-repository: Issue #74 (closed) documents a cyclic ppxlib dependency in bonsai.v0.18~preview.130.50+1016 caused by two repositories in one switch.

Compatibility and Releases

  • Merlin (oxcaml/merlin): PR #191 (merged) imports OCaml 5.2.0minus-22, adding CamlinternalQuote as a build dependency and renaming the flambda-backend identifier to oxcaml.
  • oxcaml/opam-repository (zarith): PR #14 (merged) adds zarith.1.14+ox, enabling installation of the latest TLS libraries under the Ox compiler.
  • oxcaml/opam-repository (minus-19): PR #18 (merged) publishes the "minus-19" release of the Ox opam-repository.
  • OxCaml 5.2.0minus-22: PR #4876 (merged) bumps magic numbers; PR #4877 (open) restores over-expunged toplevel modules such as Float_u and Iarray.