/mehir-error-messages

Just a repo to learn how to generate error messages from the OCaml LR parser generator menhir

Primary LanguageOCaml

Generating decent error messages for the LR parser generator, Menhir.

Generating decent error messages from LR parsers generators can be quite trickly. Fortunately, Menhir comes with a mechanism and an incremental API to do just that.

I try to learn how to do that for OCaml's LR parser generator, Menhir.

This is adapted from the official Menhir source on GitLab.

I'll be documenting my progress on what I learn in a markdown file in this repo.

Also, I made a typo in the name of this repo (not going to correct it)