A compiler for COOL language