OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/opam-repository
PermalinkFeatures
-
OxCaml opam-repository (PR #27, open): proposes replacing the monolithic
conflictsclause inocaml-variants.5.2.0+oxwith generated guard packages (oxcaml-patch-guards) that enforce patched-version dependencies via per-package disjunctions. This allows multiple patched versions of the same upstream package to coexist in one switch. #27 -
OxCaml opam-repository (PR #23, open, updated in interval): adds updated patched versions of
ocamlbuild,async_ssl,alcotest,sedlex,topkg, anduutfto resolve constraint errors when compiling upstream packages against OxCaml. Opened 2025-11-27; PR #27 supersedes its approach. #23
Fixes
- OxCaml opam-repository (PR #26, open): reapplies a patch removing the
[%%if ocaml_version < (4, 14, 0)]extension from thejs_of_ocaml-toplevelbuild, which OxCaml does not interpret and which causes an "Uninterpreted extension 'if'" error. #26
oxcaml/oxcaml
PermalinkFeatures
OxCaml register allocation: Merged affinity support for all three register allocators, enabled with -regalloc-param AFFINITY:on. The allocator prefers physical registers with the most move traffic to a given temporary. #5059
OxCaml untagged int arrays: Merged support for int8#, int16#, and int# arrays and iarrays, including creation and indexed access. char# arrays are available as a byproduct of the int8# layout. #4643
OxCaml name mangling: Open PR proposes a reversible mangling scheme that reconstructs full module paths, including submodules, from a mangled name. Demangling implementations target LLVM, the Linux kernel, binutils, and GDB. #5099
OxCaml abstract kinds: Open PR (part 2 of 3) adds basic abstract kind declarations and kind aliases to the type system. Module-level with kind_ = ... constraints are deferred to part 3. #5071
OxCaml layout-polymorphic types: Open PR introduces the repr_ source syntax and Ptyp_repr / Ttyp_repr AST nodes for layout-polymorphic type definitions. Such types are currently uninhabited. #5068
Fixes
OxCaml to_cmm: Merged fix prevents illegal re-orderings that changed observable program semantics. The corrected behaviour is behind a CLI flag and OCAMLPARAM environment variable, off by default. #4941
OxCaml inlining cost metrics: Merged fixes correct code-size computation for lookup-table switches, Boolean_not switches, and canonicalized primitives. A new profiling counter tracks speculative inlining that fails to reduce code size. #5120, #5121, #5118, #5116
Compatibility and Releases
OxCaml nullability axis: Merged change converts nullability from a non-modal axis to a scannable axis, adding new syntax alongside the existing non_null form. This unblocks further work on scannable layouts and ikinds. #5086