PrettyPrinter is a source code formatter/beautifier. Its modular design allows the use of different syntax modules through a unified interface. It comes with a default syntax module that interprets customizable syntax files using regular expressions.