Lark v0.11.1 Release Notes
Release Date: 2020-11-16 // about 4 years ago-
No data yet ๐
You can check the official repo
Previous changes from v0.10.0
-
๐ 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. AddedForestTransformer
andTreeForestTranformer
.๐ Various Bugfixes to improve the handling of ambiguous results.
โ Read the docs here: https://lark-parser.readthedocs.io/en/latest/forest.html
๐ New Vim syntax highlighting for Lark (https://github.com/lark-parser/vim-lark-syntax 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 theaccepts
attribute, which contains a list of terminals that would be accepted by the parser instead (in addition to theexpects
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.