OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/opam-repository
PermalinkCompatibility
-
#59 (open, avsm): Proposes relaxing opam guards so dune ≥ 3.24.2, eio ≥ 1.4, and mdx ≥ 2.6.0 install alongside oxcaml. A CI comment flags an unrelated partial-match warning in the wasm runtime.
-
#55 (open, dra27-js): Marks mdx 2.6.0 as OxCaml-compatible, referencing #30305. Opened 2026-07-22; updated within this interval. Comments note dune 3.24.2 merged into the main opam-repository.
Both PRs remain open; no guard changes are released. The work extends the set of upstream packages usable with the experimental oxcaml toolchain.
oxcaml/oxcaml
PermalinkFeatures
-
Addressable kinds (opened): New
addressablekind operator distinguishes kinds whose boxed form is a block (pointer-takeable) from tagged immediates. Enables future pointer-to-box language features. #6712 -
Dox (opened): Live literate programming environment where a Markdown page is also an OxCaml module; code evaluates in-browser with diagnostics and execution data attached to source. #6697
-
Layout polymorphism over
any-field records/variants (opened, stacked on #6496): Compilespoly_bindings overany-field shapes via a transientSplicecase inmixed_block_element, instantiated at translation. #6687 -
First-class modalities (draft): Gives
t @@ msurface syntax as a writable type with automatic introduction/elimination rules; eliminates hand-rolledStdlib.Modeswrappers. #6678 -
Atomic block indices (opened): Introduces
idx_atomic, a predef type for indices to[@atomic]record fields, withIdx_atomic.get/setin Stdlib_stable. #6667
Fixes
-
Partial GADT match calling-convention soundness (merged): Parameters that partially match a GADT constructor no longer narrow the sorts of later parameters or the return, preventing segfaults from mismatched calling conventions. #6689
-
Polymorphic record field atomics (merged):
[%atomic.loc]and mutable block indices to polymorphic record fields are now rejected, closing a soundness hole that permittedObj.magic-equivalent type confusion. #6688