Skip to content

v7.0.0

Compare
Choose a tag to compare
@chtenb chtenb released this 10 Mar 12:49
· 4 commits to main since this release

Breaking changes:

  • Issue #77: Fix CodePoint parser quadratic performance (#83 by @chtenb). The parser now tracks the remaining unparsed substring. This change is breaking, but will trigger compile errors in all places where this definition is used.
  • Fix semantics of endBy and sepEndBy parser combinators (#84 by @chtenb)
  • Issue #78: Remove the Text.Parsing prefix from the modules (#89 by @chtenb)

New features:

  • Introduce code point parsers anyCodePoint, codePoint' and satisfyCodePoint (#88 by @chtenb)

Bugfixes:

  • Do not export chainl' and chainr' helper functions (#84 by @chtenb)
  • Issue #69: Fix regex parser to always wrap pattern inside ^(..) (#80 by @chtenb)
  • Issue #75: Make many and cousins terminate when the inner parser does not consume, instead of hang indefinitely (#87 by @chtenb)
  • Issue #73: lookAhead consumes input on failure. Introduce tryAhead and correct documentation for lookAhead (#86 by @chtenb)

Other improvements:

  • Added purs-tidy formatter (#76 by @thomashoneyman)
  • Add a benchmark module (#79 by @chtenb)
  • Run slowest tests last and print status updates (#72)
  • Re-export the main API from a single module (StringParser) (#89 by @chtenb)