able to parse simple grammr