parse.py: Let main() take a compiler instance
compile.py: Extract stdout away from Compiler
flake8 fixes