need to parse grammar to parse tree?