Thicket thicket
ocaml
REPOS 5

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

W46.2026 · 9–15 Novoxcaml/oxcaml

Features

  • #7941 (open): Adds type checking for law? clauses in signatures and structures. Each clause must type-check as Boolean; translation reuses Translspec.

  • #8042 (open): Stores law data in .cmx/.cmo files and introduces ocamllaws to extract it. Data is optional (None when -extension laws is disabled).

  • PRs #8038 and #7979 (open): Push FDO counters through the Flambda-to-Cmm and Simplify passes. Counters survive inlining, specialisation, and deleted instructions via region-based collection.

  • #7949 (open): Adds Static_block, Code_pointer, and Out_of_heap_data_pointer machtypes to Cmm. Remaining Int uses become truly integer.

  • #8033 (open): Adds -f<ext>/-fno<ext> compiler flags and --with-arm64-extensions configure option for ARM64 (LSE, LRCPC2, CSSC).

  • #7976 (open): Adds -link-jsir for whole-program JSIR compilation via JSOO. Chains entry blocks across modules and patches symbol references.

  • #7953 (open): Adds -Hx and -open-cmi-x flags to declare include directories for hidden dependencies whose .cmx files are guaranteed present.

Fixes

  • #7998 (open): With -flambda2-join-algorithm n-way, a correct program aborts on an Invalid that Simplify replaces a live call with. The n-way join retains a code ID absent from one input, corrupting the callee set.