A simple compiler for a Java-like object-oriented language