OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/merlin
PermalinkCompatibility and Releases
- Merlin 5.4: #239 ("Merge minus-37") was updated 2026-06-03 and remains open. No merge or release occurred within the interval.
oxcaml/oxcaml
PermalinkFeatures
OxCaml box types: proposes a box type operator that reduces with unboxed types (t# box = t), enabling explicit boxing in the type system. Under active review with concerns about GADT exhaustiveness and type-inference completeness. #5342
OxCaml SSA backend: introduces an SSA intermediate representation between Cmm and CFG, with a reducer framework for SSA-to-SSA transforms and a Cfg_compare validator. Enabled via -use-ssa; off by default. #5810
OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, copy) into type inference behind -extension mode_polymorphism_alpha. Prints polymorphic mode variables with bounds and constraints. #5483
OxCaml layout-polymorphic functions: implements let poly_ f x = … translation through kind templates and closure conversion in slambda. Currently creates duplicate function bodies per call; deduplication deferred. #5870
OxCaml -remap / -alias: two new flags for redirecting persistent module references. -remap rewrites names in generated artifacts; -alias records a hidden module alias in the .cmi. #6182
OxCaml Flambda2 BFS meet: adds a breadth-first (and hybrid) strategy for processing type equations during meet, selectable via -X flambda2-meet-strategy=bfs. Addresses precision loss from depth-first recursion in relational typing. #6191
Fixes
OxCaml recursive jkind computation: merged fix that computes declaration jkinds in topological order, resolving incorrect variable representations and previously rejected mutually recursive types. #6177
OxCaml variant unboxing: open issue identifying that eager variant unboxing in Flambda2 defeats identity-switch elimination when no local allocation exists. Proposes unboxing only when a use already has the field available. #6180