Skip to content

3.0.0

Compare
Choose a tag to compare
@bwrrp bwrrp released this 28 Mar 15:20
· 15 commits to main since this release

This release makes a few changes and adds a few arguments and combinators to allow writing faster parsers.

  • Breaking: the range parser no longer returns a value. Combine it with recognize if you needed one.
  • codepoint allows matching a single character filtered by a predicate function.
  • or accepts an optional expected argument to avoid combining the expected values from its child parsers.
  • starConsumed and plusConsumed avoid collecting inner parser values into an array.

Full Changelog: 2.1.0...3.0.0