Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
7 active · 2 unchanged
ocaml/dune
PermalinkFeatures
-
%{melange.emit:...}artifact variable (Dune 3.25). References the output directory of amelange.emitstanza and its dependencies. Closes #8327. Merged in #15751. -
(flags ...)field inocamllexandocamlyaccstanzas (Dune 3.25). Accepts the ordered-set language with variable expansion; forwarded to the parser generator. Enables(flags -ml)for code-based automata. Merged in #15907.
Compatibility and Releases
-
Dune language version bumped to 3.25. The project's own
dune-projectand generated opam files now target 3.25. Merged in #15919. -
Version bound for
(warnings (duplicate_deps …))corrected to 3.22. The warning was introduced in 3.22 but the bound stated 3.18, producing overly permissive opam constraints. Merged in #15696.
Fixes
-
Disabled
installstanza no longer pollutes@all. Aninstallstanza gated byenabled_ifno longer adds its files to the directory's@allalias in disabled contexts. Fixes multi-context builds that previously failed with "No rule found." Merged in #15895, closes #15825. -
Melange JS emission now stages installed
.cmj/.cmidependencies. Previously,.cmj/.cmifiles underlib/<pkg>/melange/were missed by the sandbox, causingmelcto fail. Merged in #15949, closes #14820. -
dune pkguses SHA-256 for source archives lacking a checksum. Replaces MD5, which is deprecated by opam. Merged in #15824. -
Git patch filenames containing spaces are no longer truncated. The
---/+++header parser now disambiguates unquoted filenames with spaces. Merged in #15781.
ocaml/merlin
PermalinkFeatures
- Proposal (open): #2072 by let-def integrates LRgrep to generate declarative syntax-error messages in Merlin's preprocessor. The change is additive; existing parser behaviour is unchanged. Updated 2026-08-12; still open.
- The PR adds a
make lrgrep-coveragetarget that emitscoverage.md, listing grammatical constructs lacking error messages. This gives maintainers a concrete gap report for incremental coverage work. - Undated discussion in the thread notes upstream OCaml compiler interest in the same LRgrep approach; the Merlin integration is positioned as a testbed before a compiler-level merge. No dated decision is recorded.
Evidence note: The PR was created 2026-05-23 and updated 2026-08-12. All comments lack timestamps, so their placement within the 2026-08-10 – 2026-08-17 window cannot be confirmed. No merge, close, or release event occurred in the interval.
ocaml/ocaml-lsp
PermalinkFeatures
- Odoc document links in editor (open, by N1ark): Implements
textDocument/documentLinkanddocumentLink/resolveso odoc references ({!t},{{:url} text},@see) render as clickable links in the editor. Cross-module and stdlib references resolve once the project is built. #2139
Compatibility and Releases
- Code actions for
Unbound module/Unbound value(open, by ulugbekna): Proposes quick-fixes to create the missing file, qualify the reference, or open the module. Updated 2026-08-16 with import-fix design notes referencing TypeScript prior art. #494
Fixes
-
Unused-code quick fixes now match Merlin diagnostics (merged, by dayangac): Classifies diagnostics by warning number (e.g.
Warning 33: unused open B.) instead of bare substrings, making "Remove unused open/type/module/constructor/case/rec" and "Mark as unused" actions reachable in normal builds. #2117 -
Create-counterpart action checks client capabilities (merged, by dayangac): The "open related source" code action now offers file creation only when the client advertises both
workspaceEdit.documentChangesand thecreateresource operation; otherwise it offers only the open action for an existing file. #2115 -
Alert payloads no longer trigger destructive code actions (merged, by rgrinberg): The unused-code matcher rejects arbitrary diagnostic text (e.g. a deprecation warning containing "unused open"), preventing accidental module removal. #2141
-
Position encoding mismatch with UTF-16 clients (open, by panglesd): When the client negotiates UTF-16 (e.g. VS Code), Merlin's UTF-8 positions are not converted, placing diagnostics and semantic tokens at wrong offsets for multi-byte characters. #2138
ocaml/odoc
PermalinkFeatures
include functorsupport for OxCaml: items included via a functor are displayed with their functor origin rather than a generated module path. Open PR, ongoing. #1452
Compatibility and Releases
Fixes
odoc_driverstdlib detection: uses Findlib's own path inference instead of hardcoding$prefix/lib/ocaml, fixing$prefix/lib64layouts. Requires ocamlfind ≥ 1.9.8. Open PR. #1474 · #1477odoc_driversource lookup for Duneinclude_subdirs qualifiedwrapper modules: intermediate-directory.ml-genfiles are not resolved to installed.mlpaths. Open issue; a partial fix exists in a fork. #1475- Multi-line link reformatting in generated documentation. Open PR; tests fail on OCaml < 4.13 due to missing
String.fold_left. #1439
ocaml/opam
PermalinkFixes
opam init --reinitno longer exits with code 10 and prompts a retry after upgrading from a 2.1 root. Merged 2026-08-12.- Generated PowerShell init script contained
if Test-Path …without required parentheses; #7070 (open) emits valid syntax and adds a Windows reftest. - #7073 (open) disables
git gc/maintenance on repositories opam manages, reducing errors with recent git versions.
Features
Compatibility and Releases
ocaml/opam-file-format
Permalinkocsigen/js_of_ocaml
PermalinkCompatibility and Releases
- Open proposal – #2409 (let-def): adds stubs and adaptations so js_of_ocaml builds against the
5.5.0+introcamlopam switch (an OCaml compiler variant that instruments values for runtime printing). The PR was updated 2026-08-10 but remains open; no merge or release is indicated. An undated comment sketches a prototype-based metadata design for the JS backend, but its timestamp cannot be confirmed within this interval.