Java subset language specification + interpreter for it.