Toy compiler for a small subset of C++