Thicket thicket
ocaml
REPOS 5

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

W19.2026 · 4–10 Mayoxcaml/oxcaml

Features

OxCaml SSA IR: Open PR introduces an SSA intermediate representation between Cmm and CFG, with a reducer framework for SSA-to-SSA transforms and a register-equivalence validator against the legacy pipeline. Enabled via -use-ssa. #5810

OxCaml metaprogramming unload: Open PR proposes treating unloadable compilation units as scannable heap regions with explicit dependency edges, enabling mark/sweep-based unloading at end of major GC cycle. #5960

OxCaml x86 binary emitter: Merged changes add 2-byte VEX prefix support, shorter AVX move encodings, and YMM reg-reg move optimization, reducing code size for metaprogramming-generated code. #6012, #6022, #6033

OxCaml JIT debugging: Open PRs implement the GDB/LLDB JIT compilation interface and jitdump file support, enabling perf and debugger use with metaprogramming quotations. #6017, #6018

OxCaml ikinds: Open PR enables ikinds by default, replacing the -ikinds flag with -no-ikinds. Core work by @julesjacobs; switch flipped by @liam923. #5999

Fixes

OxCaml kind system: Merged fixes correct ikind substitution for abstract kind constraints and allow redeclaration of implicit kinds in nested module types. #5998, #5980

OxCaml untypeast roundtrip: Merged fix restores modality information on val and external items during the untypeast/pprintast roundtrip, preventing typecheck failures on re-parsed output. #5986

OxCaml Patricia trees: Merged change encodes tree invariants via GADTs, eliminating extra allocations in Set operations and halving Set.union code size in Flambda 2. #5899