Thicket thicket
ocaml
REPOS 5

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

W41.2026 · 5–11 Oct

OxCaml repository summaries

2 active · 3 unchanged

Back to weekly digest

oxcaml/opam-repository

Permalink

Fixes

  • Merged: #62 (dra27-js) updates all oxcaml-compiler patches to apply without fuzz. The ignore-opam.patch line-number drift that broke Dune builds is resolved.

  • Merged: #62 removes the faulty patch for oxcaml-compiler.5.4.0-ox2, replacing it with the command pattern already used in oxcaml-compiler.5.4.0-ox7 after upstream removed runtime4.

Compatibility and Releases

  • Closed (not merged): #51 and #60 addressed the same Dune patch-application failure; both superseded by #62. Dune's switch to a pure-OCaml patch implementation (ocaml/dune#14177) made line-number mismatches fatal.

  • Closed (not merged): #36 proposed adding 5.4.1 as a bootstrap compiler variant. The approach was superseded by a change in #42 that selects the closest OxCaml commit recipe.

oxcaml/oxcaml

Permalink

Features

  • A stacked PR series adds grammar, typing, and morphism translation for mode-polymorphic annotations such as 'a @ [< 'm] -> 'a @ [> 'm]. Currying constraints are generated implicitly; the typechecker rejects non-constant modes. (#7502, #7503, #7504, #7461)

  • Merged tests for omnidirectional constructor disambiguation establish expected behaviour across three implementation stages. Open PRs add the Scheduler/Ivar/Tivar infrastructure and labeled tuple projections as the first expression-level client of omnidirectionality. (#7372, #7418, #7432)

  • The reaper is split into traverse, solve, and rebuild stages, with cross-unit calls deferred to rebuild time. Merged groundwork covers analysis-scope parameterisation and exportable fields; open PRs add -support-lto, -reaper-solve, and -reaper-rebuild. (#7240, #7244, #7260, #7496, #7264, #7268)

  • Four PRs open a new SSA-based backend: post-dominator computation, loop analysis, inter-block move support in the reducer, and a partial dead-code-elimination (operation sinking) pass. All are labelled experimental. (#7514, #7515, #7517, #7518)

  • A new -bytecode-hints flag stores Lambda-level information (block immutability, closure layouts, immediate-ness, physical comparisons) in a HINT section of .cmo files, enabling downstream compilers such as wasm_of_ocaml to generate better code. (#7509)

  • Address pattern syntax addr_ and addr_imm_ is merged for parsing. Open PRs add type-checking (with mode interactions) and lambda translation via Pget_ptr. (#7410, #7456, #7458)

  • A prototype FDO (feedback-directed optimization) implementation and its counter types are in open PRs, introducing pseudo-instrumentation data for branch and switch-case profiling. (#7395, #7462)

Fixes

  • Merged: jkind constraints are rechecked after refining parameters from manifests, rejecting unsound instantiations (e.g. int -> int in a global position). Open: kind constraints propagate through with-bounds to support bidirectional typechecking of applications. (#7338, #7363)
3 repositories · no changes