Thicket thicket
ocaml
REPOS 5

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

W07.2026 · 9–15 Feboxcaml/oxcaml

Features

  • OxCaml type-level eval: proposes Teval as a predefined unary type constructor for evaluating target-stage types into the meta stage in runtime metaprogramming. For concrete types t, <[ t ]> eval = t via head expansions. #5402 (opened)

  • OxCaml abstract kinds: merges basic abstract kind declarations and kind aliases into the type system. Kind manifests are stored as const lr kinds; module-level with kind_ = ... constraints follow in a subsequent PR. #5071 (merged)

  • OxCaml SIMD on arm64: translates vec256 to a pair of vec128 at the lambda level, splitting loads and stores into two 128-bit operations. Enables 256-bit SIMD tests on arm without AVX intrinsics. #5291 (merged)

  • OxCaml unboxed int indexing: adds int8/int16 storage and signed-index primitives for arrays, strings, and bigstrings. New %caml_bytes_geti8 / %caml_bytes_geti16 primitives return sign-extended values. #4779 (merged)

  • OxCaml manual module init: adds -manual-module-init to ocamlopt linking, suppressing automatic initialization. C functions caml_init_module and caml_init_module_exn trigger on-demand initialization of a module and its dependencies. #5395 (merged)

Compatibility and Releases

  • OxCaml register allocation: adds -regalloc-param BIT_MATRIX_THRESHOLD:k to select a bit-matrix interference graph for functions with fewer than k registers. Default remains the hash-table-based PairSet. #5296 (merged)

  • OxCaml expect tests: merges [%%expect_asm] support, enabling tests to assert on generated assembly with architecture-specific expectations (currently X86_64). Adds a only-default-codegen test action. #5350 (merged)

  • OxCaml chamelon: proposes dune-project integration for the minimizer, parsing dune build --debug-dependency-path and dune show rules -r to minimize a failing target and its dependencies. #5423 (opened)