package querty

Build not yet checked
  1. Overview
  2. Docs
A simple build system for incremental and demand-driven computations

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
md5=572518804039bfafdf114a6c6f859250
sha512=0d839b2cba35a5489c5d1bc778d1bcd32d0d932ce9eb76bbbcdf365a96069691ca9cb0997cb73c3add99f621dca637eb4c49835661bdac0f8db8f421a4b4adc1

doc/CHANGES.html

v0.2.0 (2026-11-22)

  • Breaking: the derrived kind is renamed to derived, fixing the spelling. Replace Querty.derrived with Querty.derived in your query keys.
  • Breaking: rules are now given once, to init ~rules, instead of to every run. A database's cached values are only valid for the rules that computed them, so they can no longer be mixed. run db f replaces run db ~rules f.
  • Breaking: Cycle now carries the fetch path that closed the cycle, most recent first (e.g. [A; C; B; A] when A fetches B, B fetches C, C fetches A). Previously it carried every derived query being computed at the time, in unspecified order. Queries that led into the cycle but are not part of it are no longer included.
  • Add run_fetch db q and run_accumulated db key root, shorthands for run db (fun () -> fetch q) and run db (fun () -> accumulated key root).
  • Add remove_input to remove an input from the database. Queries that read it fail with MissingInput the next time they are verified.
  • Add read_input to read an input's current value outside of run.
  • Add accumulators: a new accum key kind for side outputs of derived queries, such as diagnostics, that are not part of the query's value.

v0.1.0 (2026-11-18)

  • Initial release.