github lark-parser/lark 1.1.2
1.1.2 - Small fixes; Support for printing trees with "rich"

latest releases: 1.1.9, 1.1.8, 1.1.7...
2 years ago

Highlights

  • Tree instances now have a pretty print with the "rich" library, when doing rich.print(tree)
  • Bugfix for recursive regexes (with the "regex" library)
  • Refactors, cleanups, and better mypy support

What's Changed

  • Clean up tree templates implementation to reduce mypy errors by @plannigan in #1091
  • Remove redefinitions related to standalone parser by @plannigan in #1115
  • Added Tree.rich() method to make Tree a Rich renderable by @erezsh in #1117
  • Rename lexer_state->lexer_thread, and make a few adjustments for the benefit of Lark-Cython by @erezsh in #1118
  • Use isinstance() checks in expcetions match_examples() by @plannigan in #1065
  • change MAXREPEAT to int by @gruebel in #1120
  • Tests: Small fixes by @erezsh in #1122

New Contributors

Full Changelog: 1.1.1...1.1.2

Don't miss a new lark release

NewReleases is sending notifications on new releases.