pp_loc

Quote and highlight input fragments at a given source location
Description

Decent error reporting (for example, in a parser, a compiler, ...) typically involves collecting locations, in order to indicate to the user the position of an error in the source file. This library provides support for quoting and highlighting the input fragment that corresponds to a given source location (or set of source locations).

Install
Published
30 May 2022
Authors
Maintainers
Sources
pp_loc-2.1.0.tbz
sha256=2f736505d431e81a4fe851ad310ff29ec4cd20c8fd37ef050d9e6f1050baa7cb sha512=7e51eeeb29037d1e1db4ebe4d4d14e40cbb45162970773f35ffe43b6107570ee5d6ec21698791fc8cfd79df5ccfd173fb6b2a8108af7bda976368b13b64ea749
Dependencies
odoc with-doc
dune >= "2.7"
ocaml >= "4.08.0"
Reverse Dependencies
dolmen_loop >= "0.7"