This is Python implementation of Appendix A: 'A Complete Front-End' in 'Compilers: Principles, Techniques & Tools'.
Run the package as a module, and give a source code file as input (for example, example/test_code.txt
in this repository):
python3 -m compiler 'source.txt'