Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(pkg): return source discovery errors explicitly

    Return source-file discovery errors as results and propagate them through source_rules alongside source dependencies.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(pkg): reuse value-list environment conversion

    Reuse Value_list_env.to_env in the context and selected-package environment helpers instead of duplicating value encoding and environment construction.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(pkg): simplify loc handling

    The same location is returned from both branches, so it can be hoisted

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(pkg): specialize package path construction

    Supply Path.Build.relative inside Paths.make instead of passing it at every call site. Package roots are always build paths, and all callers already supply this same function.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(pkg): use the package name from expander paths

    Remove the duplicate name field from Action_expander.Expander.t. The package paths already carry the same name; read Paths.name locally when constructing Run_with_path metadata.

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(ppx): share driver flag setup with linting

    Share PPX driver resolution, flag memoization, and %{corrected-suffix} expansion between linting and non-staged preprocessing. Each path keeps its own flag field, defaults, and correction suffix. Staged preprocessing is unchanged.

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rpc): share method lookup error construction

    Build the method-name payload in one place for both RPC lookup failures. An invalid method and a method with no common version still report distinct errors.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rpc): update only converted diagnostic fields

    Use record updates when converting V1 diagnostics, replacing only the message and related diagnostics. The remaining fields and wire encoding are unchanged.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share duplicate library diagnostics

    Render both declaration locations through one helper for duplicate-library errors. Each caller keeps its existing message and whether the main declaration is shown as the primary location.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share environment merging for included dependencies

    Use one path-aware environment merge for named and unnamed included dependencies. Keep the existing merge order in both cases.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share executable dependency resolution

    Use one resolver for executable compilation, workspace descriptions, optional executable checks, and utop. PPX instrumentation still resolves in the stanza scope, even when utop uses a different library database. Install rules continue to read only direct dependencies, leaving forbidden-library checks to linking.

    Rudi Grinberg (@rgrinberg)
  12. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share expanded action finalization

    Apply the working directory, sandbox, and environment in one place for both action expansion paths. Select generated diff formatting when choosing the expansion function, without changing target handling.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share library compilation context construction

    Use the same helper to resolve the library, find its source modules, and construct its compilation context whether generating library rules or only requesting the context. This keeps the two paths from drifting without changing rule generation.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): share parser-generator stanza dispatch

    Use the same enabled_if check to dispatch ocamllex and ocamlyacc rules. Disabled stanzas still generate no rules, and Menhir dispatch is unchanged.

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(rules): use the compilation context directly for unused libraries

    Generate unused-library rules directly from the compilation context instead of forwarding its fields through a one-use helper. Read the remaining fields only when there are compiled units to inspect.

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(stdune): share local path setup across roots

    Use one functor to specialize prefixes, comparators, and collections for local, source, and build paths. Each root keeps its own witness type and conversions.

    Rudi Grinberg (@rgrinberg)
  17. IssueW47.2026 · 16–22 Novocaml/dune

    remove the toolchains mechanism

    We have been keeping the toolchains mechanism around since the relocatable compiler work in order to support oxcaml with dune pkg. Hopefully oxcaml will become relocatable soon, see https://github.com/oxcaml/oxcaml/stack/6949.

    Ali Caglayan (@Alizter)
  18. IssueW47.2026 · 16–22 Novocaml/dune

    rocq.theory: rebuild an importer only when an imported module's interface changes, not when any byte of its .vo changes

    Problem

    zitrono
  19. Pull requestW47.2026 · 16–22 Novocaml/dune

    test(boot): preserve installed paths for relocatable OCaml

    The bootstrap GC cram test symlinks the OCaml toplevel into its temporary tools directory. A toplevel built with --with-relative-libdir looks for the standard library relative to that path and fails with Unbound module Stdlib before the GC checks run, as seen in the OCaml 5.5 CI job for #17149.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW47.2026 · 16–22 Novocaml/dune

    test(engine): characterize silent rule invalidation by output policy

    Changing successful-output policy currently invalidates an otherwise unchanged, silent rule. Add a plain-rule cram covering stdout/stderr swallowing and must-be-empty, with filtered target-rule cache-miss reasons and null-build controls.

    Rudi Grinberg (@rgrinberg)