Thicket thicket
ocaml
REPOS 5

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

W40.2025 · 29 Sep – 5 OctOxCaml

Features

  • Merlin (oxcaml): Merged PR #190 adds the merlin.ppx_template_generated attribute, exposing whether an identifier was produced by ppx_template. (by liam923)

  • OxCaml runtime quotations: Introduces staged computation via <[, ]> brackets and $ splicing, with a stage notion in the type system. Opening modules inside quotations is rejected. (#4395)

  • OxCaml untagged int arrays: Adds int8#, int16#, and int# arrays and iarrays using a new tag-encoding scheme. char# arrays follow from the shared layout with int8#. (#4643)

  • OxCaml slambda IR: Introduces a new intermediate representation with a single SLquote constructor wrapping lambda, plus a static evaluator. The -dslambda flag prints slambda before evaluation. (#4776)

  • OxCaml mixed modules: Lifts the value-only restriction on module fields, threading module_representation through typing, lambda, and flambda2 to support non-value elements in module blocks. (#4020)

  • OxCaml ikind system (proposal): New subsumption and mode-crossing algorithms behind -extension ikinds, targeting polymorphic variants and GADTs. Marked not ready for production use. (#4675)

  • OxCaml staticity mode axis: Adds a static < dynamic axis to the mode system; monadic-axes-of-closures are now uniformly interpreted as legacy. Mode checking for staticity is deferred to follow-up PRs. (#4799, #4798)

Fixes

  • OxCaml block index typing: Disallows idx_mut to [@atomic] fields and requires the element type of a block index to a flattened float to have an unboxed version. Block indices move to the stable API. (#4824, #4826, #4827)

Compatibility

  • oxcaml/opam-repository: Merged fix for uutf.1.0.3 package definition to resolve incompatibility with Cmdliner 2.0, copying the constraint from upstream ocaml/opam-repository. #16