Skip to content

v2.0.0

Compare
Choose a tag to compare
@dragostis dragostis released this 30 Sep 04:19
· 486 commits to master since this release

We're happy to release pest 2.0!

While there are a lot of changes that came into this release, here are some of the highlights:

  • improved performance significantly
  • revamped error reporting
  • improved grammar validation to a point where almost all degenerate grammars are now rejected
  • improved stack behavior so that you can now define whitespace-aware languages
  • added unicode builtin rules and other helpers
  • pest_meta crate for parsing, validating, and optimizing grammars
  • pest_vm crate for running grammars on-the-fly
  • finally removed funky const _GRAMMAR paper-cut
  • errors are now owned and much easier to use
  • made EOI non-silent for better error reporting
  • changed special rules to be SHOUT_CASE (e.g. ANY, WHITESPACE)