locversion Documentation on ocaml.org

Representing ranges of lexing positions from parsed files

Loc is an OCaml library for manipulating code locations, which are ranges of lexing positions from a parsed file.

Attaching locations to nodes manipulated by programs can be useful for various applications such as compilers, interpreters, linters, and refactoring tools.

Tags code-locations lexing
AuthorMathieu Barbin
LicenseMIT
Published
Homepagehttps://github.com/mbarbin/loc
Issue Trackerhttps://github.com/mbarbin/loc/issues
MaintainerMathieu Barbin <opensource@mbarbin.org>
Dependencies
Source [http] https://github.com/mbarbin/loc/releases/download/0.3.3/loc-0.3.3.tbz
sha256=d1894623628948203f77a932d7a41a2730b17894cc79b6a7488e55f254b0bb3c
sha512=e7a4a0380687d6f06277e3c08977278f4ef1e8ab1a226b1665295ae9fd94ba080576fe9d3ae46c071132326a25fb0793b190e8ca80c958c66c16b808323f779e
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/loc/loc.0.3.3/opam