A simple compiler written in Java