scanner and parser evaluated and revised