Reporting located errors and warnings
- OCaml 87.5%
- Dune 6.5%
- Text 4.6%
- Makefile 1.4%
| .github | ||
| .vscode | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| .ocamlformat | ||
| CHANGES.md | ||
| dune | ||
| dune-project | ||
| error-log-tests.opam | ||
| error-log.opam | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
error-log
⚠️ This project is no longer being maintained or extended. I have migrated to a slightly different version of this where the error log mutates a global state instead. See Err. The repository will be archived and made read-only.
Error_log is a library for programs that process user programs and report located errors and warnings (compilers, interpreters, etc.)
The canonical syntax for an error produced by this lib is:
File "my-file", line 42, character 11-15:
Error: Some message that gives a general explanation of the issue.
Followed by more details, perhaps some sexps, etc.
((A sexp)(with more)(details)
(such_as
(extra_values)))
It is inspired by dune's user_messages and uses dune's error message rendering under the hood.
Code Documentation
The code documentation of the latest release is built with odoc and published to GitHub pages here.