package loc
Representing ranges of lexing positions from parsed files
Install
Dune Dependency
Authors
Maintainers
Sources
loc-0.2.2.tbz
sha256=3823c82f10c16278eb4b660a5621c59f4e920151c6d4c6a37976bbe9ba3a7934
sha512=aca370c2387e2afb6b116f911671f872cbc44713297713e98573dda5dcad0974bd7f22df4ad8a59243b19ba24a675d1ec98c66453176298baaaa3fdb56c5e1e4
doc/CHANGES.html
0.2.2 (2024-11-04)
Fixed
- Fix
Offset.to_position
to allow the end-of-file offset instead of raising (#7, @mbarbin).
0.2.1 (2024-11-04)
Added
- Add utils to build locs from file offsets and ranges (#6, @mbarbin).
- Make the library build with
ocaml.4.14
(#5, @mbarbin). - Add new checks in CI (build checks on windows and macos) (#5, @mbarbin).
Changed
- Rename
Loc.in_file
toLoc.of_file
; renameLoc.in_file_line
toLoc.of_file_line
(#6, @mbarbin).
Deprecated
- Prepare
Loc.in_file
andLoc.in_file_line
for deprecation (#6, @mbarbin).
0.2.0 (2024-09-03)
Added
- Added test - increase coverage.
Changed
- Rename
Loc.Txt
fields to be closer to upstream compiler libs conventions. - Merged
With_loc
into the main module, asLoc.Txt
. - Revert renaming the lib
loc0
- back toloc
.
0.1.0 (2024-08-23)
Changed
- Less dependencies: remove
base
& ppx preprocessing. - Rename main package
loc0
in preparation to release to opam in the future. - Remove
base
dependency, reduced tosexplib0
.
0.0.6 (2024-07-26)
Added
- Added dependabot config for automatically upgrading action files.
Changed
- Upgrade
ppxlib
to0.33
- activate unused items warnings. - Upgrade
ocaml
to5.2
. - Upgrade
dune
to3.16
. - Upgrade base & co to
0.17
.
0.0.5 (2024-03-13)
Changed
- Uses
expect-test-helpers
(reduce core dependencies) - Run
ppx_js_style
as a linter & make it adev
dependency. - Upgrade GitHub workflows
actions/checkout
to v4. - In CI, specify build target
@all
, and add@lint
. - List ppxs instead of
ppx_jane
.
0.0.4 (2024-02-14)
Changed
- Upgrade dune to
3.14
. - Build the doc with sherlodoc available to enable the doc search bar.
0.0.3 (2024-02-09)
Added
- Setup
bisect_ppx
for test coverage. - Add utils on offsets and ranges.
Changed
- Internal changes related to the release process.
- Upgrade dune and internal dependencies.
0.0.2 (2024-01-18)
Added
- Add a few convenient accessors for start/stop positions.
Changed
- Internal changes related to build and release process.
0.0.1 (2023-11-12)
Initial release.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page