finished grammar and parse table