All Versions
Latest Version
Avg Release Cycle
25 days
Latest Release
1280 days ago

Changelog History
Page 1

  • v0.11.1

    November 16, 2020
  • v0.11.0 Changes

    November 16, 2020

    📜 LALR parser

    📜 The LALR parser now supports priority in rules, as a way to resolve collision errors

    👌 Improvements to the standalone tool, including more command-line options, like optional compression for the json data.

    👌 Improvements to the puppet error handling interface

    👍 Better error reporting on LALR collisions

    🛠 Bugfixes in Earley


    ➕ Added support for syntax highlighting in Atom

    🛠 Fixes and improvements for the cache option. cache=True now uses a temporary directory instead of working directory.

    👀 Lark can now be imported directly from a zip (See: ed5c8ec)

    ➕ Added more terminals to the grammar library (available for %import).

    👍 Nearley tools now supports case insensitive strings

    🗄 Deprecated some interfaces

    👌 Improvements to docs, stubs, and various bugfixes

    🚧 Thanks to @MegaIng for helping with Lark's maintenance, and to @ldbo, @chanicpanic, @michael-k, @ThatXliner and everyone else for their help and contributions.

  • v0.10.0 Changes

    September 21, 2020

    📚 Complete overhaul of documentation. Now using sphinx to generate API docs from docstrings. (commit 0664cbd. Thank you @chsasank !)

    - Many improvements and additions to documentation

    🆕 New and friendlier Earley SPPF interface! (commit 555b268. Thank you @chanicpanic !)

    ➕ Added the ambiguity='forest' option. Added ForestTransformer and TreeForestTranformer.

    🛠 Various Bugfixes to improve the handling of ambiguous results.

    ✅ Read the docs here:

    🆕 New Vim syntax highlighting for Lark ( Thank you @omega16 !)

    📜 Lark now loads faster from cache (commit 7dc0017)

    📜 Terminals can now be composed of regexps and strings with different flags, if using Python 3.6+ (commit e6fc3c9)

    ➕ Added support for parsing byte-strings, with the use_bytes flag (commit 9ee8428).

    📜 UnexpectedToken exception now has the accepts attribute, which contains a list of terminals that would be accepted by the parser instead (in addition to the expects attribute, which is guided by the lexer and may include terminals that won't be accepted by the parser) (commit a7bcd0b)

    👍 Allow multiline regexes with the x flag (commit 9923987)

    0️⃣ Lark no longer uses the default logger. Instead uses lark.LOGGER. (commit 7010f96)

    🌲 Lark now notifies on unused terminals/rules through logging.debug.

    📜 Standalone generator now creates smaller files (without comments and docstrings). Also undergone various fixes. (commit bf2d9bf)

    Wheel distribution due to (somewhat) popular demand.

    🛠 Lots of small bugfixes and improvements!

    🛠 Many thanks to @MegaIng for his continued work on many of these new features and fixes, and to everyone else who contributed to Lark and helped make it even better.

  • v0.9.0 Changes

    July 01, 2020

    ➕ Added error handling to LALR!

    👌 Support for better regexps with the regex module, when using Lark(..., regex=True)
    ✅ Read here:

  • v0.8.9 Changes

    June 16, 2020

    🚀 The last two releases were wrong. I apologize.

    🚀 Hopefully that's the last of it, and we'll be back on track with periodic and accurate releases.

  • v0.8.8

    June 13, 2020
  • v0.8.7

    June 13, 2020
  • v0.8.6 Changes

    June 10, 2020

    🚀 The main features for this release:

    Grammar caching : It's now possible to cache the results of the LALR grammar analysis, for x2 to x3 faster loading. Use Lark(..., cache=True) or specify a file name. See here:

    Grammar templates : Added support for grammar "functions" that expand in preprocessing. No docs yet, but see here for examples:

    Lark online IDE : Technically not a feature, but it's possible to run Lark in the browser. Now we also have a simple IDE on github pages:

    Other changes:

    👌 Improved performance for large grammars

    🖨 More debug prints when in debug mode

    👍 Better support for PyInstaller

    🛠 Lots of bugfixes: mypy stubs, v_args, docs, and more.

  • v0.8.5

    March 29, 2020
  • v0.8.3 Changes

    March 28, 2020
    • Added the g_regex_flags option, to allow applying flags to all terminals.
    • Fixed end_pos for Earley, when using propagate_positions
    • 🛠 Fixes for mypy
    • 👍 Better docs