Parse while loops