OxCaml covers the compiler extensions and their supporting tools and packages.
W51.2025 · 15–21 Dec/OxCaml
Features
OxCaml dissector: proposes partition-based linking for executables exceeding 2 GB via intermediate GOT/PLT sections, avoiding 32-bit relocation overflow. (#5146, open)
OxCaml unboxed keywords: introduces #assert, #if, #while, #for, #when, and #<- as unboxed counterparts, typechecked against unit# and bool#. (#5167, open)
OxCaml layout-polymorphic types: adds repr_ syntax and Ptyp_repr/Ttyp_repr AST nodes for kind-polymorphic type declarations; such types are currently uninhabited. (#5068, open)
OxCaml scannable axes: merged change tracking nullability and separability during Lambda translation, eliminating unnecessary caml_modify calls for non_pointer types. (#5155, merged)
OxCaml reaper alias analysis: open issue proposing migration from Andersen's to Steensgaard's pointer analysis, targeting quasilinear worst-case complexity. (#5138, open)
Fixes
OxCaml inlining heuristics: merged fix treating value-kind arguments as non-useful for speculative inlining, restoring -flambda2-speculative-inlining-only-if-arguments-useful behaviour. (#5093, merged)
OxCaml switch cost metrics: merged fix preventing spurious removed-operation counts from %tag_immediate primitives introduced during switch simplification. (#5144, merged)
Compatibility and Releases
Merlin (oxcaml): merges oxcaml 5.2.0minus-25 changes, reverting prior minus-24 adjustments superseded by #5066. Merged 2025-12-16 by liam923. (#203)
OxCaml array tags: merged rearrangement of unboxed and untagged array tags restoring backwards compatibility with pre-untagged-array tag assignments. (#5126, merged)