Some links:
http://gallium.inria.fr/~fpottier/menhir/manual.pdf
https://semantic-domain.blogspot.com/2015/11/error-handling-...
https://baturin.org/blog/declarative-parse-error-reporting-w...
It seems to work although I would include a "fail early" flag just to help with enormous error messages (if you apply the principle to sema as well)
Some links:
http://gallium.inria.fr/~fpottier/menhir/manual.pdf
https://semantic-domain.blogspot.com/2015/11/error-handling-...
https://baturin.org/blog/declarative-parse-error-reporting-w...