Thicket thicket
ocaml
REPOS 5

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

W46.2025 · 10–16 NovOxCaml

Features

  • OxCaml mixed modules (PR #4020, open): lifts the value-only restriction on module fields, permitting unboxed elements at top level. New Types.module_representation and Lambda.module_representation types thread mixed-module shape through typing and lambda. Link

  • OxCaml scannable axes (PR #4992, merged): adds parsing for non_pointer and maybe_pointer annotations on type abbreviations, with warnings for misplaced axes. PR #5006 (open) extends the layout system with a scannable-axis dimension. Link Link

  • OxCaml slambda IR (PR #4776, merged): introduces a slambda intermediate representation with a SLquote constructor and static evaluator. The -dslambda flag prints slambda before evaluation to lambda. Link

  • OxCaml sharable mode (PR #4982, merged): adds a sharable mode to the portability axis; sharable closures capture shared values. The observing mode now implies sharable. Link

  • OxCaml mod contended inference (PR #4929, open): enables limited inference of mod contended on let-bound variables, allowing specific values to cross contention boundaries. Inference does not apply at function calls. Link

  • OxCaml effect primitives (PR #4901, open): refactors %resume to accept the continuation directly rather than unpacked fields, eliminating the Must_not_enter_gc module. Prepares the runtime for a preemption effect carrying per-continuation GC registers. Link

Fixes

  • Merlin (PR #196, merged): fixes a crash when parameterized libraries interact with short paths. Link

  • Merlin (PR #197, merged): filters ghost-location nodes from syntax documentation, preventing spurious [@nontail] attribute hints from ppx-generated code. Link

  • OxCaml jkind normalization (PR #4995, open): replaces conservative Jkind.round_up with Tof_jkind substitution for unboxed existentials and Tpolys, fixing a stack overflow on recursive types. Link

Compatibility and Releases

  • Merlin (PR #198, merged): adds afl compiler flags to the ignored-flags list so Merlin does not reject them during fuzz-instrumented builds. Link

  • OxCaml SIMD (PR #4994, PR #4988, merged): implements all SSE and AVX load/store intrinsics via the new memory-operand path. Generalizes Simd.Mem.operation with Load and Store constructors, removing prior special-casing. Link Link