Parser part of a compiler for COOL built with Java (built as part of Stanford CS143 assignment)