github lark-parser/lark 0.11.2
Better grammar re-use, and tons of improvements

latest releases: 1.2.2, 1.2.1, 1.1.9...
3 years ago

New Features:

Improvements

  • Indenter now throws DedentError instead of AssertionError

  • Improved the Python3 grammar, now works with reconstructor. (See this example: https://github.com/lark-parser/lark/blob/master/examples/advanced/reconstruct_python.py)

  • Lots of refactoring for a better tomorrow.

  • rule/terminals names can now be in unicode. (thanks @julienmalard)

  • Better errors.

  • Better type hints.

  • lark.lark is now part of the standard library.

  • Earley:

    • Now works with match_examples()
    • Now supports a custom lexer
    • Better handling of ignored terminals
    • Faster forest visiting, and a few edge-case bugfixes (thanks @chanicpanic)

Other

Don't miss a new lark release

NewReleases is sending notifications on new releases.