Thicket thicket
ocaml
REPOS 5

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

W20.2026 · 11–17 Mayoxcaml/oxcaml

Features

  • OxCaml mode polymorphism: Open research stack (#5478–#5488, #5453) by ainageorges adds functional mode polymorphism with level-based generalization and copy. Gated behind -extension mode_polymorphism_alpha.

  • OxCaml SSA backend: Open PR (#5810) by ttebbi-janestreet introduces an SSA IR between Cmm and CFG with a reducer framework and cross-pipeline validation. Enabled via -use-ssa.

  • OxCaml preemptible fibers: Merged preemption runtime (#4881) adds effects-based preemption at GC points; open follow-up (#5913) extends to per-fiber tick callbacks.

  • OxCaml custom or_null: Open PR (#5830) allows zero-, unused-, and multi-parameter [@@or_null] declarations with inferred result kinds. Reviewers settled on an ordinary-kind-scheme design over best-kind polymorphism.

  • OxCaml sparse immediate tags: Open PRs (#6097, #6098) add [@immediate <int>] on constant constructors, permitting sparse and negative runtime tags.

  • OxCaml DWARF standard attributes: Open PR (#6093) replaces the custom DW_AT_ocaml_offset_record_from_pointer with standard DW_FORM_exprloc attributes and accurate variant sizes. Breaking change for the LLDB plugin.

Compatibility and Releases

  • OxCaml ikinds: Merged (#5999) enables ikinds by default. The old -ikinds flag is replaced by -no-ikinds.

  • OxCaml metaprogramming: Merged [@magic_staged_modes] (#6066) delays mode checks on quotes and splices to program generation; merged cmi_bundle fix (#6043) resolves missing-alias crashes.