OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/merlin
PermalinkFixes
-
Merlin (oxcaml): fixes go-to-definition for punned record patterns. In
let f { a; b } = ..., selectinganow navigates to the label definition rather than reporting the cursor is already at the definition. #147 -
Merlin (oxcaml): open PR fixes type recovery in function applications within local opens. In
Foo.(bar baz)with a type mismatch,locateonbarpreviously failed with "Not in environment"; the fix preserves the function identifier in the typed tree. #222
Compatibility and Releases
- Merlin 5.2.0minus-31: merged sync from OxCaml bringing experimental
Format_docand abstractjkindinfrastructure. TheFormat_docmigration changes type error printer evaluation from lazy to eager, altering type variable naming in reported errors. #221
Features
- Merlin (oxcaml): open PR adds tests for signature help on functions with only labelled arguments. #205
oxcaml/oxcaml
PermalinkFeatures
-
OxCaml static computations: proposes a new compilation pass between
translandsimplifthat splitstlambdainto static and dynamic parts for compile-time evaluation. Currently a no-op; all tests pass unchanged. (#5430, open) -
OxCaml type-level eval: adds
Tquote_evalto the type system, distributingevalthrough concrete type constructors for runtime metaprogramming. Introducesevals-toconstraints for inference with non-injectiveeval. (#5402, open; parent #5288) -
OxCaml mode morphisms: restructures morphism representation into three layers (core, simple, full) to guarantee a finite number of left- or right-allowed morphisms. Part of ongoing mode-system research. (#5453, open)
-
OxCaml chamelon: adds dune-project integration with
minimize-failureandminimize-stdlibMakefile targets, parsingdune build --debug-dependency-pathanddune show rulesto locate and minimize failing targets. (#5423, merged) -
OxCaml expect_asm: merged support for asserting on generated assembly in expect tests, with architecture-specific expectations (X86_64 only) and an
only-default-codegenaction. (#5350, merged)
Fixes
-
OxCaml unboxed products (bytecode): fixes aliasing of nested unboxed product fields in records by deep-copying blocks on read and write. Previously
ocamlcandocamloptcould produce different results. (#5386, merged) -
OxCaml register allocation: replaces spill instructions for set-but-never-read temporaries with a no-op
Dummy_useoperation, eliminating useless spills that had become common. (#5429, merged) -
OxCaml inlining attributes: reports that
[@inlined always]at a call site overrides[@inline never]at the definition in non-classic mode. A fix lowering the call-site priority is in draft. (#5438, open; #5439, draft)