Compiler

Run targets on the IR: emit the code, then check it

yace.compiler.process(model: Model, names: List[str], output: Path, check: bool = True, include: List[Path] | None = None, options: Dict[str, Dict[str, str]] | None = None) → list

Emit, format and check the code of the named targets; returns the failures. The ‘include’ directories are where the headers the API includes are found, and ‘options’ are those of each target, by its name. A target whose formatters are not all found is not emitted, since its code would then depend on what the host has installed.