InteractiveParser & Better Cache
Cache
- Lark now tracks changes in imported grammars (
%import
), and updates the cache if necessary - Added support for atomicwrites, for multiprocess caching and crash recovery
InteractiveParser
- Now an official interface (renamed from Puppet)
- Added
Lark.parse_interactive()
for starting the parser in interactive mode
Other
-
Added
ast_utils
, to assist in tranforminglark.Tree
into a customized AST. -
Better docs
-
Bugfixes
Notification: Support for Python 2 is ending
In the near future, Lark will drop support for Python 2. We will continue to develop for Python 3.6+ only, which will simplify the code and ease development.
Old releases (including this one) will still work, of course, and should be stable enough to accompany the remaining Python 2 users into the sunset.
If you have any objections, feel free to voice them here: #874
Thanks for everyone who helped make Lark better!