Releases: j-mie6/parsley
Parsley 3.3.3
What's Changed
Full Changelog: v3.3.2...v3.3.3
Parsley 3.3.2
What's Changed
Full Changelog: v3.3.1...v3.3.2
Parsley 3.3.1
Improved some of the documentation. Additionally, maintain more consistent internal state for the debugger, which will now accurately report positions after a string combinator failure.
Full Changelog: v3.3.0...v3.3.1
Parsley 3.3.0
It's now possible to use NumericRange[Char]
with oneOf
and noneOf
, giving the pleasing oneOf('a' to 'z')
syntax.
What's Changed
Full Changelog: v3.2.1...v3.3.0
Parsley 3.2.1
Fixes a bug with multiple tabs in string literals and the positions expected from them. Removes some redundant code on recursive calls.
Parsley 3.2.0
This release adds methods to the Reg
class instead of using the functions defined in registers
. This improves the type inference characteristics of the combinators.
Parsley 3.1.3
Fixed a bug with case-insensitive keywords, where if they are combined in an "or-chain" then they must have the leading character match case #95. Also slightly improved performance for keyword and operator combinators when the identifier and operator letters are not specified.
Parsley 3.1.2
Nothing much to see here, except dropped support for Scala 3.0.0 pre-releases, we now support Scala 3's official release!
Parsley 3.1.1
This release fixes a bug when amended errors are converted to hints. It also improves the semantics of .label and .explain to ensure that they are applied only when the error message has not observed the consumption of input, as opposed to whether or not input was actually consumed. This means that amend instead of attempt can control the behaviour of these combinators.
Also generalised the interface for ErrorBuilder, thereby introducing Revision2. The messages and extra lines of input are now provided as Seq instead of Set and List respectively. This is to allow an ordering for fancy error messages (explain hasn't changed).
Parsley 3.1.0
This release incorporates the changes in #92, #93, and #94. In summary, added the <+>
combinator, and amend
and entrench
in parsley.errors.combinator
. The calling mechanism for recursive parsers has been reworked and should be better for performance and memory consumption for larger parsers. The error builder now supports multiple lines of error input, with the default set at 1 line before and 1 after. This can be configured by extending the error builder class. This change has shifted the revision number of the builder to Revision1
and Revision0
retains the original behaviour of a single line.