Implement a compiler for a small-scale programming language