# Functions
New creates a new Python Generator that writes to the given writer and uses the given project name.
RewriteTrivialApplies rewrites all applies within the bound node and its children to use "sugared" syntax if the apply itself is trivial.