Thicket thicket
ocaml
REPOS 5

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

W42.2025 · 13–19 OctOxCaml

Features

  • OxCaml Flambda2 join analysis: Merged. Exposes per-variable join definitions 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. Allows erasable bits8 and bits16 kinds without the small_numbers extension, keeping int8/int16 literals gated. #4898

  • OxCaml preemption effect: Open PR. Introduces a preemption effect for the runtime, enabling the scheduler to suspend long-running computations; pairs with the %resume change below. #4881

  • OxCaml %resume primitive: Open PR. Changes %resume to accept a continuation directly rather than unpacked fields, moving unpacking into the assembly stub and bytecode interpreter. #4901

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

Fixes

  • OxCaml quotation evaluation: Merged. Fixes runtime quotation splicing, including correct handling of Id_prim identifiers and narrowed exception catching during eval. #4896

  • OxCaml debugger location info: Merged. Refines location information emitted for pattern-match cases, improving step granularity and program-counter reporting. #4884

  • OxCaml @@ global soundness: Open PR. Adds a syntactic check that @@ global implies @@ aliased and forbids @@ global unique, closing a borrowing-soundness gap. #4889

  • oxcaml/opam-repository PR #20: Open. Proposes removing the [%%if] patch for the jsoo toplevel, as the bundled jsoo may already use a ppx_optcomp version supporting that syntax. Link

  • oxcaml/opam-repository PR #19: Open. Proposes reapplying the jsoo iarray patch after a likely commit mismatch in the js_of_ocaml dependency. Link

Compatibility

  • OxCaml Merlin: Merged. Merges OCaml 5.2.0minus-22 into the OxCaml fork; renames the flambda-backend source-import target to oxcaml and adds CamlinternalQuote so the tree builds without the OxCaml compiler. #191