Thicket thicket
ocaml
REPOS 5

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

W32.2026 · 3–9 Aug

OxCaml repository summaries

2 active · 3 unchanged

Back to weekly digest

oxcaml/opam-repository

Permalink

Compatibility

  • #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

Permalink

Features

  • Addressable kinds (opened): New addressable kind 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): Compiles poly_ bindings over any-field shapes via a transient Splice case in mixed_block_element, instantiated at translation. #6687

  • First-class modalities (draft): Gives t @@ m surface syntax as a writable type with automatic introduction/elimination rules; eliminates hand-rolled Stdlib.Modes wrappers. #6678

  • Atomic block indices (opened): Introduces idx_atomic, a predef type for indices to [@atomic] record fields, with Idx_atomic.get/set in 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 permitted Obj.magic-equivalent type confusion. #6688

Compatibility and Releases

  • AVX-512 promoted to simd_beta (merged): 512-bit vector and mask types move from simd_alpha to simd_beta; backend support, array operations, and mask load/store primitives are available under the beta flag. #6676, #6339, #6340, #6708
3 repositories · no changes