prolog

Prolog files

ninja.pl  -- Ninja build system generator
write_build/1Generate a "build.ninja" file using the dcg Goal.
write_build/2See write_build/1.
build//3Generate a build statement between input Ins and Output Outs with the rule Rule.
build//4Generate a build statement between input Ins and output Outs with the rule Rule.
deps//1Generate a whitespace separated list of dependencies from prolog source file Source.
generator//1Generate a generator rule and build edge with Input as the prolog generator script.
generator//2Generate a generator rule and build edge with Input as the prolog generator script and Output as the ninja build file.
rule//2Generate a rule declaration with no additional variables.
rule//3Generate a rule declaration with no additional variables.
seq//1Experimental attempt to ease the chaining of sequential build edges.
variable//1Generate a variable declaration from a pair Pair.
variable//2Generate a variable declaration as a variable Name with value Value.