Compiler for COOL