Reporting located errors and warnings
  • OCaml 87.5%
  • Dune 6.5%
  • Text 4.6%
  • Makefile 1.4%
Find a file
2025-02-21 10:21:50 +01:00
.github Add new CI jobs (compiler x platform) 2025-01-10 11:31:23 +01:00
.vscode init 2023-11-12 21:36:19 +01:00
src Update dune-project and dependencies 2024-11-10 19:42:52 +01:00
test Add missing transitive dependencies 2024-12-16 09:27:39 +01:00
.gitattributes init 2023-11-12 21:36:19 +01:00
.gitignore Update .gitignore 2024-04-10 14:59:54 +02:00
.ocamlformat Add ocaml-version to ocamlformat config according to the project lower bound 2025-01-10 11:31:23 +01:00
CHANGES.md Upgrade to cmdlang.0.0.5 2024-09-17 21:03:41 +02:00
dune init 2023-11-12 21:36:19 +01:00
dune-project Disable implicit transitive dependencies 2024-12-16 10:34:55 +01:00
error-log-tests.opam Require dune.3.17 2024-12-16 10:34:55 +01:00
error-log.opam Require dune.3.17 2024-12-16 10:34:55 +01:00
LICENSE init 2023-11-12 21:36:19 +01:00
Makefile Upgrade to loc.0.2.0 & cmdlang.0.0.4 2024-09-07 15:50:27 +02:00
README.md Prepare to archive 2025-02-21 10:21:50 +01:00

error-log

CI Status Coverage Status

⚠️ 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.