Skip to content

Releases: j-mie6/parsley

Parsley 2.0.1

09 Jan 20:09
a0ef4a9
Compare
Choose a tag to compare

This version of Parsley has no API changes or bug fixes, but this release supports Scala 3.0.0-M3 and re-supports Dotty 0.27.0-RC1

Parsley 2.0.0

09 Jan 19:16
824f173
Compare
Choose a tag to compare

NOTE: This release has backwards incompatible changes for some parsers which were previously compatible with the 1.x series. This includes parsers which make use of registers/state, as well as any lingering uses of deprecated functionality from v1.5.1+

What's Changed

The following PRs form part of this release: #28 #27 #32. Issue #26 is partially supported by this release (remaining work is found in #33).

The major changes in this release boil down to:

  • adding types to registers, so they are no longer untyped
  • removing rollback behaviour of registers, they can be rolled back with rollback explicitly
  • remove ability to manually create registers at given addresses (the allocation is done by the runtime)

What's New

For this release, there are a couple of new combinators, namely:

  • collect - similar to those found in List etc in the Scala standard library
  • cast - used to change the type of a parser's result in a safe checked way which does not throw exceptions
  • rollback - recovers the original semantics of registers from the 1.x series

Parsley 1.7.0

06 Jan 11:41
7533b66
Compare
Choose a tag to compare

This release expands the functionality found in the Result datatype so that it is not necessary to immediately bail out of it. In addition, it now supports conversion to scala.util.Try.

Parsley 1.6.2

05 Jan 21:30
1c64f5f
Compare
Choose a tag to compare

This release incorporates the recent work on a widespread refactor. In the process, a couple of edge cases have been addressed and there is an assertion on LanguageDef to ensure that a multi-line comment is not a valid prefix of a single-line one.

Parsley 1.6.1

31 Dec 22:25
3934d87
Compare
Choose a tag to compare

This released fixes a bug which meant that operators and keywords parsed with TokenParser do not respect the backtracking qualities they advertised. Additionally, small improvements to performance due to mass-refactoring.

Parsley 1.6.0

09 Dec 15:30
bdd5a11
Compare
Choose a tag to compare

Added support for method based parser running and added the unsafe object.

Parsley 1.5.1

08 Dec 21:37
7d996c6
Compare
Choose a tag to compare

Bug fix from #12, the debug combinator's contextual information was clobbered by a compatibility fix.

Parsley 1.5.0

05 Dec 16:21
15b1007
Compare
Choose a tag to compare

This release standardises and unifies the 2.12 and 2.13 interfaces so that we can now use Maven Central to do the hosting.