This would also make it easier to unit test the formatter, we can run it on the test program corpus and ensure that output matches input.
Wow, this was done ages ago. Why is it still here?