2 ms·
Propositions as Filenames, Builds as Proofs: The Essence of Make (2015)
- 082349872349872 4y ago> Proof of a compound proposition “x and y implies z” is a command to run that will generate the proof of the atomic proposition z from the proofs of the atomic propositions x and y. For pattern rules, this proof is parameterised by the instantiation of the universally quantified variable. For some reason, in make, the universally quantified variable is written as “%” in the proposition, and “$” in the proof.* I guess using this model we only care about existence of a proof (although which proof is relevant in the actual contents of the updated target?); come to think of it I don't know how make handles having multiple viable paths to freshen a target.