j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

Support for partial dislodging #191

Closed j-mie6 closed 1 year ago

j-mie6 commented 1 year ago

Instead of a Boolean to track whether an error is entrenched or not, there is now a counter (with currently 28-bits of information, though this may shrink) that tracks the number of entrenches passed through. A dislodge will be able to fully clear all entrenches, or in future can choose to only unwind a specific number of them. Closes #150.

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 6b5ef24d and detected 10 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 10

The test coverage on the diff in this pull request is 90.3% (50% is the threshold).

This pull request will bring the total coverage in the repository to 91.1% (0.1% change).

View more on Code Climate.