Thicket thicket
ocaml
REPOS 5

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

W08.2026 · 16–22 Feboxcaml/oxcaml

Features

  • OxCaml static computations: proposes a new compilation pass between transl and simplif that splits tlambda into static and dynamic parts for compile-time evaluation. Currently a no-op; all tests pass unchanged. (#5430, open)

  • OxCaml type-level eval: adds Tquote_eval to the type system, distributing eval through concrete type constructors for runtime metaprogramming. Introduces evals-to constraints for inference with non-injective eval. (#5402, open; parent #5288)

  • OxCaml mode morphisms: restructures morphism representation into three layers (core, simple, full) to guarantee a finite number of left- or right-allowed morphisms. Part of ongoing mode-system research. (#5453, open)

  • OxCaml chamelon: adds dune-project integration with minimize-failure and minimize-stdlib Makefile targets, parsing dune build --debug-dependency-path and dune show rules to locate and minimize failing targets. (#5423, merged)

  • OxCaml expect_asm: merged support for asserting on generated assembly in expect tests, with architecture-specific expectations (X86_64 only) and an only-default-codegen action. (#5350, merged)

Fixes

  • OxCaml unboxed products (bytecode): fixes aliasing of nested unboxed product fields in records by deep-copying blocks on read and write. Previously ocamlc and ocamlopt could produce different results. (#5386, merged)

  • OxCaml register allocation: replaces spill instructions for set-but-never-read temporaries with a no-op Dummy_use operation, eliminating useless spills that had become common. (#5429, merged)

  • OxCaml inlining attributes: reports that [@inlined always] at a call site overrides [@inline never] at the definition in non-classic mode. A fix lowering the call-site priority is in draft. (#5438, open; #5439, draft)