OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
1 active · 4 unchanged
oxcaml/oxcaml
PermalinkFeatures
-
LTO prototype opened by @mirivella. The Reaper solver assumes a closed world; calling-convention and slot-offset decisions move to solve time; solutions serialise to
.ltosolfiles. Draft, not ready for review. #7156 -
Static functor transl, fracture and eval merged. Adds
Ltemplatefor functors whose arguments exist at both compile-time and runtime; single-argument functors only. Partial application and overapplication deferred. #6846 -
Layout-polymorphic records and variants opened by @joe-kerrigan.
finalize_instantiated_shapetranslates generalised sort variables to splice variables evaluated in Slambda; mixed-block checks deferred past Slambda. Recursive definitions still unsupported. #7152 -
Box kinds opened by @rtjoa. Adds the
k boxkind constructor:k box < scannablealways, with layout-specific implied axes (e.g.float64 box < value). Not yet linked to types; no existing types carry this kind. #6956 -
Mode polymorphism parsing opened by @ainageorges. Argument/result annotations accept mode variables (
'm) and bounds ([< 'm],[> 'm]); curry-mode constraints generated implicitly. Grammar enforces upper-then-lower bound order and meet/join separators. #6829 -
Keep functions specialisable after lambda lifting opened by @mshinwell. The reaper emits a "specialisation site" (synthetic value slots, no runtime allocation) at the original binding; the simplifier re-specialises lifted code when the enclosing function is inlined, restoring
[@zero_alloc]guarantees lost by lifting. #7109
Fixes
-
n-way join performance merged by @bclement-ocp, closing #6586. Projects linearly-occurring existential variables and imports physically-equal types without canonicalisation; join time halved on the compiler build (~1% total compile-time reduction). #6681
-
-OclassicCmm crash on Int64 operations fixed. The peephole engine'sadd_construle producedorwhere+was expected forInt64.subof a shifted value. All optimisations now use the preferred input form consistently. Merged; found via oxfuzzer. #7111 / #7102