Thicket thicket
ocaml
REPOS 5

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

W14.2026 · 30 Mar – 5 Apr

OxCaml repository summaries

3 active · 2 unchanged

Back to weekly digest

oxcaml/merlin

Permalink

Features

  • Merlin (PR #228): Merges upstream OCaml 5.2.0minus-35, bringing metaprogramming/staging (quote/splice) and layout polymorphism into the type-checking pipeline. Merged 2026-04-02 by liam923.

Compatibility and Releases

  • Merlin (PR #227): Open upgrade to OCaml 5.4; requires ocamlformat 0.29.0 because 0.28.x over-reformats. Not yet merged.

Fixes

  • Merlin (PR #230): Corrects ptyp_of_type for Tquote_eval so the metaprogramming type node renders as Typ.quote (core_type ty) rather than a predef path. Merged 2026-04-03.
  • Merlin (PR #228): Fixes a Not_found error in cross-module GADT destruct where is_aliasable_ty calls Env.find_type under Env.without_cmis.

oxcaml/opam-repository

Permalink

Features

  • OxCaml opam-repository: Open PR #36 updates the bootstrap compiler to 5.4.1 in the ocaml variants opam file. The change supports creating OxCaml opam switches via opam-compiler.

oxcaml/oxcaml

Permalink

Features

  • OxCaml staging/GADTs soundness: Merged a four-PR chain (#5641, #5586, #5607, #5698) making GADT inference sound under staging. Spliced types are no longer instantiable; local constraints are stage-tracked; quotes of expansive expressions require mode once.

  • OxCaml abstract kinds: Merged with kind_ constraints (#5629), completing the planned feature set before announcing abstract kinds. The parser enforces that the RHS is an lr-kind, preventing nested with constraints.

  • OxCaml mode system: Merged write/writing (#5608) and corrupted/corruptible (#5713) modes, making visibility and statefulness axes partial-order diamonds. This isolates write-only contended/portable bits without requiring shared or shareable.

  • OxCaml layout polymorphism: Merged type checking for let poly_ (#5513). Open PRs add val poly_ descriptions (#5755) and static module fracturing (#5724) for the layout-poly pipeline.

  • OxCaml generalized unboxed reprs: Open experimental draft (#5678) adding constructor-level [@repr ...] annotations (null, immediate, pointer, value, unboxed) for allocation-free variant encodings. Enables compact mixed representations for trees and small-int bignums.

  • OxCaml x86 peephole pass: Merged a new -x86-peephole-optimize pass (#5639), disabled by default, that removes dead-register MOVs, redundant CMPs, and combines adjacent ADD RSP sequences. Gated per-rule for fine-grained control.

  • OxCaml runtime preemption: Open PR (#4881) implementing effects-based preemption at GC poll points. A Preemption effect is performed after the next GC; unhandled preemptions resume execution rather than raising.

Fixes

  • OxCaml n-way join: Merged fixes for symbol-projection joins (#5745) and nullability detection (#5718) in the new n-way join algorithm. An open PR (#5751) adds extra params for created variables to eliminate duplicate %is_int primitives.
2 repositories · no changes