achieve the sudo code for the whilestatementparser