Compilers course project: compiler for a subset of Java in C++