read rparse format grammars