github lark-parser/lark 0.8.2
MyPy support, Lark serialization, and standalone license is now MPL2

latest releases: 1.2.2, 1.2.1, 1.1.9...
4 years ago

Changes in this version are:

  • Added type stubs for all public APIs, in order to support type checking and completion using MyPy (or others)

  • Added two new methods to the Lark class: Lark.save() and Lark.load(). Both methods pickle and unpickle (respectively) the class instance into/from file objects. These can be used to allow faster loading times. (future versions will implement an automatic caching feature)

  • The standalone parser is now MPL2, instead of GPL. The Mozilla Public License is much less restrictive, so this shouldn't affect anyone who's already using the standalone parser. But it should make it easier for other users to adopt it.

Don't miss a new lark release

NewReleases is sending notifications on new releases.