Improving errors output by Grako-generated parser
问题 I'm trying to figure out the best approach to improving the errors displayed to a user of a Grako-generated parser. It seems like the default parse errors displayed by the Grako-generated parser when it hits some parsing issue in the input file are not helpful. The errors often seem to imply the issue is in one part of the input file when the true error is somewhere different. I've been looking into the Grako Semantics class to put in some checks which would display better error messages if