MiniJava compiler written in Java: http://www.cs.ucla.edu/~palsberg/course/cs132/F14/