Thicket thicket
ocaml
REPOS 5

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

W09.2026 · 23 Feb – 1 Maroxcaml/oxcaml

Features

  • OxCaml type-level eval: adds Tquote_eval to the type algebra for beta-reducing eval through concrete type constructors in runtime metaprogramming. Open PR by jbachurski; a dependency for removing the %eval extension. #5402

  • OxCaml mode polymorphism: integrates level-relation operations (update-level, generalize, instantiate) into type inference under -extension mode_polymorphism_alpha. Open PR by ainageorges; mode variables are functional but not yet printed. #5483

  • OxCaml zero_alloc: extends the zero_alloc attribute to arguments of higher-order functions, e.g. let[@zero_alloc] f (g [@zero_alloc arity 2]) = …. Open PR by Dreian; checks are front-end only. #5493

  • OxCaml layout polymorphism: implements canonical syntax for layout-polymorphic value descriptions, including parsing, printing, and inclusion checking. Open PR by riaqn, split from the broader sort-polymorphism work in #5473. #5498

  • OxCaml static evaluator: first version of a static evaluator for a lambda calculus, with no size-control or cross-module access yet. Open PR by lukemaurer. #5512

  • OxCaml pointerness axis: adds a scannable pointerness axis to the mode system, merged by rtjoa (work by zackbach). Extends the kind/mode framework for tracking pointer scannability. #5484

  • OxCaml x86_64 backend: selects lea for multiplications by 3, 5, and 9 via scaled-add addressing, and removes the two-address constraint on Iadd to reduce register moves. Merged by ttebbi-janestreet. #5475

Fixes

  • OxCaml separability: corrects a soundness bug where type definitions with constraint (e.g. type 'a t constraint 'a = 'b list) were misclassified as separable, causing segfaults. Merged by goldfirere, fixing #5502. #5510