Implementing a CLite interpreter in Java