Repository activity
40458 results across all weeks
refactor(jsoo): share compiler selection
Share JS and Wasm compiler selection across configuration resolution and compiler rules.
Antonio Nuno Monteiro (@anmonteiro)refactor(jsoo): share version resolution
Share repeated js_of_ocaml program and version resolution.
Antonio Nuno Monteiro (@anmonteiro)refactor(mdx): reuse resolved OCaml toolchain
Reuse the resolved OCaml toolchain for MDX mode and library include paths.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): make module systems nonempty
Encode the module_systems decoder invariant with Nonempty_list.t. Follows #16162.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): reuse runtime asset project
Resolve the project once while generating Melange runtime-asset rules.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share JS emission inputs
Reuse module-invariant command inputs across Melange module-system outputs.
Antonio Nuno Monteiro (@anmonteiro)refactor(memo): add Option.value
Several memoized rule paths repeat the same operation: return an optional value when present, otherwise lazily compute a monadic default.
Rudi Grinberg (@rgrinberg)refactor(memo): remove unused phase arguments
Stack_frame_with_state.create accepted a computation phase but ignored it. As a result, Computation.force's phase parameter existed only to forward it.
Rudi Grinberg (@rgrinberg)refactor(merlin): preserve nonempty reader commands
Preserve the nonempty Merlin reader invariant through dialect and Merlin configuration types.\n\nFollow-up to #16165.
Antonio Nuno Monteiro (@anmonteiro)refactor(merlin): represent stanza configurations as a group
Represent each stanza's persisted Merlin configuration as a default-first nonempty group while preserving existing singular lookup and debug behavior.
Antonio Nuno Monteiro (@anmonteiro)refactor(odoc): share support files rule
The legacy and new odoc pipelines duplicated construction of the odoc support-files rule. Expose the shared rule from Odoc and reuse it for both support directories.
Rudi Grinberg (@rgrinberg)refactor(opam): reuse generation context
Resolve the context once when generating opam aliases.
Antonio Nuno Monteiro (@anmonteiro)refactor(package-deps): resolve library support with install rules
Description
Ali Caglayan (@Alizter)refactor(pkg): retire portable lock directory mode
Depends on #16218. This remains a draft while the remaining lock-directory differences are consolidated incrementally.
Ali Caglayan (@Alizter)refactor(pkg): share lock package basename
Centralize lock-package basenames shared by package files directories and lock filenames.
Antonio Nuno Monteiro (@anmonteiro)refactor(pp): share preprocessed module mapping
Share preprocessed module mapping across dependency, Melange, and virtual-library rules.
Antonio Nuno Monteiro (@anmonteiro)refactor(rules): share boolean short-circuit evaluation
Deduplicate evaluation of boolean conjunctions and disjunctions while preserving their short-circuit behavior.
Rudi Grinberg (@rgrinberg)refactor(rules): share common directory setup
Share formatting, cram, and reverse-dependency rule setup across source-only and grouped directories.
Antonio Nuno Monteiro (@anmonteiro)refactor(rules): share executable pps resolution
Executable compilation, installation, artifact loading, and utop generation independently applied instrumentation and collected the resulting PPX dependencies before resolving libraries.
Rudi Grinberg (@rgrinberg)refactor(scope): share package library lookup
Consolidate package and library-database selection for public and package-associated private libraries in Scope.DB.lib_entries_of_package.
Rudi Grinberg (@rgrinberg)