Thicket thicket
ocaml
REPOS 5

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

W10.2026 · 2–8 MarOxCaml

Features

  • OxCaml static computation: Merged framework inserts a fracturing pass between transl and simplif, splitting lambda into static and dynamic parts. Open follow-ups add the simplest fracturing and a first static evaluator. (#5430, #5544, #5512)

  • OxCaml type-level eval: Open PR adds Tquote_eval to type_expr, enabling beta-reduction of quoted types into the meta stage. Distributes eval through concrete type constructors. (#5402, #5288)

  • OxCaml mode polymorphism: Open PR integrates level-relation operations into type inference behind -extension mode_polymorphism_alpha. A companion PR prints polymorphic mode variables with bounds and constraints. (#5483, #5488)

  • OxCaml abstract kinds: Open PR adds kind declarations in recursive modules with cycle checking to prevent recursive kinds. Generalizes Typedecl.reaching_type_path for error reporting. (#5517)

  • OxCaml runtime preemption: Open PR implements effects-based preemption, performing a Preemption effect at the next GC poll point. A companion PR moves the tick thread into the runtime as a single per-process thread. (#4881, #5349)

  • OxCaml zero-alloc arguments: Open PR extends [@zero_alloc] to arguments of higher-order functions, requiring explicit arity. The applied argument must be an identifier or function abstraction. (#5493)

Fixes

  • Merlin (oxcaml): Merged fix for type recovery in function applications within local opens. A type mismatch in an argument no longer discards the function identifier from the typed tree, preserving locate results. (#222)

  • Merlin (oxcaml): Open PR fixing signature-help not triggering on unfinished let … in bindings. Downstreams the fix from #2036. (#223)

  • Merlin (oxcaml): Open PR fixing signature-help to highlight optional arguments once preceding labelled arguments are already written. Downstreams #2032. (#216)

  • OxCaml AVX2 gather: Merged fix tracks the mask register as a separate result for AVX2 gather instructions, which clear their mask argument. Prevents the mask from overwriting the expected-immutable input. (#5567)

  • OxCaml unboxed array indices: Merged change removes language-level array block-index syntax, replacing it with explicit %unsafe_array_idx primitives. Get/set operations are now safe; index creation is the only unsafe step. (#5556, #5559)

Compatibility

  • Merlin (oxcaml): Merged compiler sync for 5.2.0minus-32. (#224)