OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/opam-repository
PermalinkFixes
- #60 (open, by shunueda): Updates the dune-ignore patch for the
-ox2variant after an upstream implementation change broke the existing patch. Awaiting review.
Compatibility and Releases
- #59 (open, by avsm): Relaxes opam guards to permit dune ≥ 3.24.2, eio ≥ 1.4, and mdx ≥ 2.6.0 alongside Oxcaml. A comment notes OCaml 6.4.1 still has a linking issue; other backported versions pass CI.
Both items are open proposals with no merge or closure recorded in the interval. No new experimental compiler features, research directions, or tooling changes appear in the supplied data.
oxcaml/oxcaml
PermalinkFeatures
-
Mode Polymorphism Parsing (#6829, opened 2026-08-18, ongoing): Signature items now accept mode variables (
'm) and bounds ([< … > …]) in type annotations. Curry-mode constraints are generated implicitly at parse time; mode variables are scoped per signature item. -
Addressable kinds (#6712, ongoing): Adds an idempotent
addressableoperator to the kind system, distinguishing kinds whose boxed form is a block from tagged immediates. Enables pointer-taking operations on selected unboxed types. -
SSA intermediate representation (#5810, ongoing): New SSA IR between Cmm and CFG with a reducer framework, automatic dead-code elimination, and a
Cfg_comparevalidator. Controlled by-use-ssa; currently on by default for coverage. -
Structured diagnostics (#6807–#6818, opened 2026-08-17, ongoing): Typed diagnostic model with natural-language generation and mode-specific producers.
-structured-diagnosticsemits JSON Lines on stderr; Merlin gains astructured-errorsquery. -
Unboxed products in external calls (#6862, opened 2026-08-20, ongoing): C FFI now follows the target ABI (System V / AAPCS64) for unboxed product arguments and returns, replacing the prior restriction to flat pairs.
Fixes
-
Frametable size reduction (#6399, merged 2026-08-18): Short descriptor format, linker string de-duplication, and shared debuginfo suffixes reduce rodata by ~40% and executable size by ~8%.
-
Heap extension API (#6248, merged 2026-08-17):
caml_add_extentregisters external memory as GC-managed blocks with a free callback, enabling out-of-heap allocation strategies. -
Phantom lets and DWARF call sites (#6513 merged 2026-08-18; #6517–#6523 ongoing):
Cmm.Cname_for_debuggerlanded; the 24-PR dwarf202607 series continues with phantom-let translation, availability ranges, andDW_TAG_call_siteemission for inlined frames.