Lark

Latest version: v1.1.9

Safety actively analyzes 638646 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

0.8.9

The last two releases were wrong. I apologize.

Hopefully that's the last of it, and we'll be back on track with periodic and accurate releases.

0.8.8

0.8.7

0.8.6

The main features for this release:

* **Grammar caching**: It's now possible to cache the results of the LALR grammar analysis, for x2 to x3 faster loading. Use `Lark(..., cache=True)` or specify a file name. See here: https://lark-parser.readthedocs.io/en/latest/classes/

* **Grammar templates**: Added support for grammar "functions" that expand in preprocessing. No docs yet, but see here for examples:
https://github.com/lark-parser/lark/blob/master/tests/test_parser.py#L845

* **Lark online IDE**: Technically not a feature, but it's possible to run Lark in the browser. Now we also have a simple IDE on github pages: https://lark-parser.github.io/lark/ide/app.html

* Other changes:

* Improved performance for large grammars

* More debug prints when in debug mode

* Better support for PyInstaller

* Lots of bugfixes: mypy stubs, v_args, docs, and more.

0.8.5

0.8.3

* Added the `g_regex_flags` option, to allow applying flags to all terminals.
* Fixed `end_pos` for Earley, when using `propagate_positions`
* Fixes for mypy
* Better docs

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.