Features
-
OxCaml runtime quotations: introduces staged computation via
<[, ]>brackets and$splicing, with a stage notion added to the type system. Quotations are represented as an AST incamlInternalQuote; opening modules inside quotations is rejected. (#4395) -
OxCaml untagged int arrays: adds
int8#,int16#, andint#arrays and iarrays with a new tag-encoding scheme (tags 4–7 encode element width).char#arrays follow from the shared layout withint8#. (#4643) -
OxCaml slambda IR: introduces a new intermediate representation with a single
SLquoteconstructor wrapping lambda, plus a static evaluator. The-dslambdaflag prints slambda before evaluation; the transl phase now outputs slambda. (#4776) -
OxCaml prototype ikind system: new subsumption and mode-crossing algorithms behind
-extension ikinds, targeting performance issues that block mode crossing for polymorphic variants and GADTs. Marked not ready for production use. (#4675) -
OxCaml staticity mode axis: adds a
static < dynamicaxis to the mode system, with monadic-axes-of-closures now uniformly interpreted as legacy. Mode checking for staticity is deferred to follow-up PRs. (#4799, #4798) -
OxCaml mixed modules: lifts the value-only restriction on module fields, threading a
module_representationthrough typing, lambda, and flambda2 to support non-value elements in module blocks. Sort variables are resolved only after typing completes. (#4020) -
OxCaml match-in-match analysis: exposes the n-way join's per-variable definitions (SSA phi equivalents) in the downward env so simplify can access continuation-handler parameter information. Currently unused; intended to enable a more precise match-in-match heuristic. (#4821)