All Versions
Latest Version
Avg Release Cycle
25 days
Latest Release
1307 days ago

Changelog History
Page 2

  • v0.8.2 Changes

    March 07, 2020

    ๐Ÿ”„ 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: 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.

  • v0.8.1 Changes

    January 22, 2020

    โช Reverted maybe_placeholders to False by default. It didn't obey the semantic versioning standard.

    ๐Ÿ›  Bugfix in standalone parser

  • v0.8.0 Changes

    January 22, 2020

    - Better LALR

    ๐Ÿš€ The biggest change to this release is a new LALR engine, that is capable of dealing with a few edge cases that the previous parser couldn't.

    ๐Ÿ“œ This parser is supposed to be fully backwards-compatible with the previous one, but that is hard to verify!

    Thank you, @Raekye, for this great contribution to Lark!

    ๐Ÿ‘€ For more details, see issue #418

    - Transformers now visit tokens, as well as rules (an alternative to lexer_callbacks)

    Transformer now visit tokens, in addition to rules.

    Simply define a method with the correct name (uppercase, of course), and the transformer will visit your tokens before the rules that contain them.

    ๐ŸŽ It's possible to disable this, for backwards compatibility, or for the slight performance gain.

    - Other Changes

    โž• Added visit_topdown methods to Visitor classes

    Lark now allows line comments in its rule definitions

    ๐Ÿ‘ Better error messages

    ๐Ÿ‘Œ Improvements to documentation

    ๐Ÿ›  Bugfixes

    0๏ธโƒฃ maybe_placeholders is now the default (backwards-incompatible)** (REVERTED in 0.8.1)