Thicket thicket
ocaml
REPOS 1

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

W42.2025 · 13–19 Octoxcaml/oxcaml

Features

OxCaml preemption: Open PR introducing a preemption effect for the runtime, enabling the scheduler to suspend long-running computations. Pairs with the %resume continuation change below. (#4881)

OxCaml %resume primitive: Open PR changing %resume to accept a continuation directly rather than unpacked fields, moving unpacking into the assembly stub and bytecode interpreter. Paves the way for a gc_regs field needed by the preemption effect. (#4901)

OxCaml Flambda2 join analysis: Merged change exposing per-variable join definitions (SSA phi-equivalents) from the n-way join into the downwards environment, enabling a more precise match-in-match heuristic in simplify. (#4821)

OxCaml bits8/bits16 kinds: Merged change allowing the erasable bits8 and bits16 kinds without the small_numbers extension, simplifying library integration while keeping int8/int16 literals gated. (#4898)

OxCaml exception modes: Open PR extending the mode system so exceptions cross statefulness and visibility, mirroring the existing portability and contention rules, to permit throwing from stateless functions. (#4891)

Fixes

OxCaml quotation evaluation: Merged fixes for runtime quotation splicing, including correct handling of Id_prim identifiers and narrowed exception catching during eval. (#4896)

OxCaml debugger location info: Merged change refining the location information emitted for pattern-match cases, improving step granularity and program-counter reporting in the debugger. (#4884)

OxCaml @@ global soundness: Open PR adding a syntactic check that @@ global implies @@ aliased and forbids @@ global unique, closing a borrowing-soundness gap in the mode system. (#4889)