Skip to content

1.1.2 - Small fixes; Support for printing trees with "rich"

Compare
Choose a tag to compare
@erezsh erezsh released this 01 Mar 14:19
· 277 commits to master since this release

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