achieve the pascalparsertd.java