ALPHA: breaking changes expected. What that means
NanoC

rewrite builtin

rewrite(text)

Replaces the whole source with new text; the pipeline repeats until the text stops changing.

Phaseall

Example

nanoc, not run by --check
@tt
  rewrite(replace(source(), "OLD", "NEW"))

All builtins