Thicket thicket
ocaml
REPOS 5

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

W24.2026 · 8–14 Jun

OxCaml repository summaries

3 active · 2 unchanged

Back to weekly digest

oxcaml/merlin

Permalink

Compatibility and Releases

  • PR #239 ("[5.4] Merge minus-37", dkalinichenko-js) was closed without merging on 2026-06-09. No body, labels, or comments are present; no user-facing change is described.

No features, fixes, research developments, or experimental compiler changes are evidenced in this interval.

oxcaml/opam-repository

Permalink

Features

  • Remaining Dune-built packages added to the OxCaml opam repository, completing the set needed to build OxCaml tooling under Dune. Merged 2026-06-11 by jonludlam. #49

Compatibility

  • Dune's switch to a stricter patch implementation (ocaml/dune#14177) invalidated OxCaml's build patch; fuzzing support is planned upstream in ocaml/dune#15146. A temporary workaround pins a dummy oxcaml-dune package to sidestep a dependency conflict during dune lock. #51

Fixes

  • Various accumulated fixes to the OxCaml opam repository. Merged 2026-06-11 by dra27-js. #52
  • ignore-opam.patch updated to correct a line-number drift that broke OxCaml builds under Dune's new pure-OCaml patch applier (ocaml/dune#14177). Open, updated 2026-06-12 by saser. #51

oxcaml/oxcaml

Permalink

Features

  • SSA intermediate representation (open, updated 2026-06-14): New -use-ssa flag introduces an SSA IR between Cmm and CFG, with a Cfg_compare validator that checks register-equivalence against the legacy pipeline. Currently on by default; defaults will flip before merge. #5810

  • AVX-512 for the amd64 SIMD backend (open, proposed 2026-06-14): Proposal to add EVEX encoding, 512-bit ZMM register modelling, and an opmask (k0–k7) register class to the backend. Scopes incremental intrinsic-table batches followed by backend changes; width-parametric design targets AVX10 transition. #6257

  • Layout-polymorphic functions (open, updated 2026-06-13): Implements let poly_ f x = … translation through typedtree, tlambda, and slambda, using kind templates and closure conversion. The simple static evaluator handles the generated slambda; deduplication deferred to later PRs. #5870

  • Heap extension runtime API (draft, created 2026-06-12): Adds caml_add_extent(base, size, free_callback) to the internal runtime API, allowing external code to register pre-initialised blocks for GC management. Draft for design discussion on naming and callback semantics. #6248

  • Unloading of metaprogramming compilation units (open, updated 2026-06-10): Treats unloadable CUs as scannable heap regions with explicit dependency edges; the major GC unloads a unit when no Code_block or data block remains marked. Uses back-pointers in .text and a Code_pointer machtype for safepoint liveness. #5960

  • Loop-elimination experiments (open, updated 2026-06-10): Three analyses (induction-variable finding, termination proof, dead-IV proof) enable complete elimination of empty for loops under -cfg-merge-blocks. Based on the SSA IR work in #5810. #5840

  • ocamlfilt demangler (open, updated 2026-06-12): Pure-OCaml command-line tool that reverses OxCaml's flat0, flat1, and structured name-mangling schemes with automatic per-symbol detection. Reads symbols from stdin or arguments; unrecognised input passes through unchanged. #5100

Compatibility and Releases

  • Upstream 5.4 merge (merged 2026-06-12): The merge-upstream-5.4 branch is now merged into main, bringing the OxCaml frontend in line with OCaml 5.4. A follow-up merge of main back into the 5.4 branch (#6179) also landed the same day. #5325
2 repositories · no changes