Thicket thicket
ocaml
REPOS 1

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

W43.2025 · 20–26 Octoxcaml/oxcaml

Features

OxCaml slambda IR: New experimental IR with a single SLquote constructor wrapping lambda, plus a static evaluator. The -dslambda flag prints slambda before evaluation. (#4776)

OxCaml ikind prototype: New subsumption and mode-crossing algorithms behind -extension ikinds, targeting performance issues with polymorphic variants and GADTs. Not production-ready. (#4675)

OxCaml mixed modules: Lifts the value-only restriction on module fields via automatic field reordering. New module_representation types thread through typing, lambda, and flambda2. (#4020)

OxCaml untagged int arrays: Adds int8#, int16#, and int# array and iarray types with dedicated tags. char# arrays follow from the same layout. (#4643)

OxCaml CFG optimisations: A new Cfg_reducibility module gates loop-info rewrites; value propagation extends to float constants and tracks copies through Move. (#4920, #4921, #4807, #4879)

OxCaml preemption: Open PR adds preemption support; a companion refactor makes %resume take the continuation directly, removing Must_not_enter_gc and enabling gc_regs in continuations. (#4881, #4901)

OxCaml name mangling: New reversible scheme encodes full module paths (including submodules) in mangled names. De-mangling implementations target LLVM, the Linux kernel, and binutils. (#4850)

OxCaml mode system: Merged the staticity mode axis (static < dynamic) and allocation mode hints, completing previously truncated hint chains in error messages. (#4799, #4917)