interpreter for a pascal-like language written in Java