Features
-
OxCaml static computations: proposes a new compilation pass between
translandsimplifthat splitstlambdainto static and dynamic parts for compile-time evaluation. Currently a no-op; all tests pass unchanged. (#5430, open) -
OxCaml type-level eval: adds
Tquote_evalto the type system, distributingevalthrough concrete type constructors for runtime metaprogramming. Introducesevals-toconstraints for inference with non-injectiveeval. (#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-failureandminimize-stdlibMakefile targets, parsingdune build --debug-dependency-pathanddune show rulesto 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-codegenaction. (#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
ocamlcandocamloptcould produce different results. (#5386, merged) -
OxCaml register allocation: replaces spill instructions for set-but-never-read temporaries with a no-op
Dummy_useoperation, 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)