Features
-
OxCaml staging/GADTs: Merged four-PR chain (#5641, #5586, #5607, #5698) making GADT inference sound under staging. Spliced types are no longer instantiable; quotes of expansive expressions require mode
once. -
OxCaml abstract kinds: Merged
with kind_constraints (#5629), completing the planned feature set. The parser enforces that the RHS is an lr-kind, preventing nestedwithconstraints. -
OxCaml mode system: Merged
write/writing(#5608) andcorrupted/corruptible(#5713) modes, making visibility and statefulness axes partial-order diamonds. Isolates write-only contended/portable bits without requiringsharedorshareable. -
OxCaml layout polymorphism: Merged type checking for
let poly_(#5513). Open PRs addval poly_descriptions (#5755) and static module fracturing (#5724). -
OxCaml x86 peephole pass: Merged
-x86-peephole-optimizepass (#5639), disabled by default, removing dead-register MOVs, redundant CMPs, and combining adjacent ADD RSP sequences. Gated per-rule for fine-grained control. -
OxCaml 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 runtime preemption: Open PR (#4881) implementing effects-based preemption at GC poll points. A
Preemptioneffect 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). An open PR (#5751) adds extra params to eliminate duplicate
%is_intprimitives. -
Merlin: Merged upstream OCaml 5.2.0minus-35 (#228), bringing metaprogramming/staging (quote/splice) and layout polymorphism into the type-checking pipeline.
-
Merlin: Corrects
ptyp_of_typeforTquote_eval(#230) so the metaprogramming type node renders asTyp.quote (core_type ty)rather than a predef path.