Thicket thicket
ocaml
REPOS 5

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

W41.2026 · 5–11 Octoxcaml/oxcaml

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)