Skip to content

InteractiveParser & Better Cache

Compare
Choose a tag to compare
@erezsh erezsh released this 03 May 16:41
· 667 commits to master since this release

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 tranforming lark.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!