Lark v0.8.6 Release Notes
Release Date: 2020-06-10 // almost 4 years ago-
๐ 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: https://lark-parser.readthedocs.io/en/latest/classes/Grammar templates : Added support for grammar "functions" that expand in preprocessing. No docs yet, but see here for examples:
โ https://github.com/lark-parser/lark/blob/master/tests/test_parser.py#L845Lark 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: https://lark-parser.github.io/lark/ide/app.html
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.