Closed Bystroushaak closed 6 years ago
Is there any way how to get the full grammar specification from the parser? I am getting "ParsingError" messages and I have no idea why. Also - how do you debug the parser when you are getting errors like this?
This is what I found, don't know if it helps or you've already figured it out.
pprint.pprint(parser.lr_table.grammar.__dict__)
Thanks for the info.
Is there any way how to get the full grammar specification from the parser? I am getting "ParsingError" messages and I have no idea why. Also - how do you debug the parser when you are getting errors like this?