package loc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Representing ranges of lexing positions from parsed files
Install
dune-project
Dependency
Authors
Maintainers
Sources
loc-0.3.3.tbz
sha256=d1894623628948203f77a932d7a41a2730b17894cc79b6a7488e55f254b0bb3c
sha512=e7a4a0380687d6f06277e3c08977278f4ef1e8ab1a226b1665295ae9fd94ba080576fe9d3ae46c071132326a25fb0793b190e8ca80c958c66c16b808323f779e
doc/CHANGES.html
0.3.3 (2026-01-25)
This patch release brings internal changes only, with an improvement to the distribution process (immutable releases).
Added
- Add more CI workflows based on
setup-dune(@mbarbin).
Changed
- Improved CI scripts; upgrade and pin CI dependencies (@mbarbin).
0.3.2 (2025-12-22)
Added
- Add support to generate
Dynvalues for most types (#18, @mbarbin). - Enable OCaml
5.4in CI (#17, @mbarbin). - Added SPDX-License headers to source files (a1897699, @mbarbin).
- Add new workflow based on
setup-dune(#13, @mbarbin).
Changed
- Experiment with CI based on setup-dune (#21, @mbarbin).
- Reduce test dependencies (#20, @mbarbin).
- Simplify handling of dev dependencies (#16, @mbarbin).
- Internal changes to improve the CI & test
setup-dune(#14, @mbarbin).
0.3.1 (2025-07-29)
Changed
- Internal
ppx_js_styleconfiguration change (allow let-operators) (@mbarbin). - Removed pkg upper bounds by default unless there is a known issue (@mbarbin).
Fixed
- Enable
implicit_transitive_depsdepending on OCaml version (@mbarbin).
0.3.0 (2025-03-15)
Changed
- Required
dune.3.17(@mbarbin).
Deprecated
- Deprecate
Loc.in_fileandLoc.in_file_lineand addocamlmigmigration annotations (#11, @mbarbin, @v-gb).
0.2.2 (2024-11-04)
Fixed
- Fix
Offset.to_positionto 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_filetoLoc.of_file; renameLoc.in_file_linetoLoc.of_file_line(#6, @mbarbin).
Deprecated
- Prepare
Loc.in_fileandLoc.in_file_linefor deprecation (#6, @mbarbin).
0.2.0 (2024-09-03)
Added
- Added test - increase coverage.
Changed
- Rename
Loc.Txtfields to be closer to upstream compiler libs conventions. - Merged
With_locinto 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
loc0in preparation to release to opam in the future. - Remove
basedependency, reduced tosexplib0.
0.0.6 (2024-07-26)
Added
- Added dependabot config for automatically upgrading action files.
Changed
- Upgrade
ppxlibto0.33- activate unused items warnings. - Upgrade
ocamlto5.2. - Upgrade
duneto3.16. - Upgrade base & co to
0.17.
0.0.5 (2024-03-13)
Changed
- Uses
expect-test-helpers(reduce core dependencies) - Run
ppx_js_styleas a linter & make it adevdependency. - Upgrade GitHub workflows
actions/checkoutto 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_ppxfor 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