Skip to content

Releases: lark-parser/lark

1.2.2 - Bugfix for 1.2.1 (Earley issues with ambiguity)

13 Aug 19:52
Compare
Choose a tag to compare

What's Changed

  • Bugfix: Earley now respects ambiguity='resolve' again. Bug was introd… by @erezsh in #1444

Full Changelog: 1.2.1...1.2.2

1.2.1 - Now only Python 3.8+; several bugfixes in Earley

13 Aug 09:41
Compare
Choose a tag to compare

Main Changes

  • Dropped support for Python versions lower than 3.8
  • Several bugfixes in the Earley algorithm, related to suppressed ambiguities
  • Improved performance in InteractiveParser.accepts()

What's Changed

New Contributors

Full Changelog: 1.1.9...1.2.1

1.1.9 - Patch for a breaking change in 3.11.7 re module

10 Jan 08:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.8...1.1.9

1.1.8 - Output-stable Earley; Interactive standalone; various improvements

23 Oct 08:18
Compare
Choose a tag to compare

What's Changed

  • Populate the Token.end_* fields for ignored tokens by @jtbraun in #1309
  • Include .lark files in package data by @ptrcnull in #1308
  • Add an error message when using Lark.save() when parser!='lalr' by @erezsh in #1328
  • Add and improve docstrings by @erezsh in #1326
  • Small update to PR #1338 by @erezsh in #1339
  • Fix 1345 attempt two by @MegaIng in #1347
  • Earley now uses OrderedSet for better output stability by @erezsh in #1327
  • ContextualLexer now uses self.basic_lexer for easy extensibility (iss… by @erezsh in #1342
  • Improved typing around LALR and ParserState by @erezsh in #1343
  • Typing fixes. Mypy now produces 0 type errors by @erezsh in #1354
  • Standalone: Added support for interactive parser. by @erezsh in #1356

New Contributors

Full Changelog: 1.1.7...1.1.8

1.1.7 - Bugfix for release 1.1.6 in propagate_positions

20 Jul 19:19
e795810
Compare
Choose a tag to compare

1.1.6 - Strict mode, Python-style comments, Bugfixes

17 Jul 20:22
Compare
Choose a tag to compare

What's Changed - main points

What's Changed - PRs

New Contributors

Full Changelog: 1.1.5...1.1.6

1.1.5 - Fix AmbiguousExpander; Fix line information in InteractiveParser

06 Dec 12:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.4...1.1.5

1.1.4 - Added support for using Token in match statements, and other small fixes

02 Nov 01:48
9e5bd90
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.3...1.1.4

1.1.3 - Various fixes and refactors

11 Oct 08:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.2...1.1.3

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

01 Mar 14:19
Compare
Choose a tag to compare

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