mise is a Lean 4 front end for Ninja. A build is described in a mise.toml file, mise emits build.ninja from it, and proofs show that the emitted build is correct and incrementally sound relative to an abstract model of Ninja.
Build and run an example:
nix develop # or `direnv allow` once, to load it on entering the directory
lake build
mise build examples/hello-c # reads mise.toml, writes build.ninja, runs ninja- Usage: the
misecommand and themise.tomlformat. - Theorems and assumptions: what is proved, what is assumed, and the supported Ninja subset.
- Trusted definitions: what a reader must check for the proofs to mean what they say.
- Testing: the acceptance gate and the tests against real Ninja.