Lark

Latest version: v1.1.9

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

Scan your dependencies

Page 1 of 9

1.1.9

What's Changed
* Use MAXWIDTH instead of MAXREPEAT when available by MegaIng in https://github.com/lark-parser/lark/pull/1377
* Fix nested list markdown syntax in how_to_use.md by ei-grad in https://github.com/lark-parser/lark/pull/1357
* Run tests against Python 3.12 by michael-k in https://github.com/lark-parser/lark/pull/1365

New Contributors
* ei-grad made their first contribution in https://github.com/lark-parser/lark/pull/1357

**Full Changelog**: https://github.com/lark-parser/lark/compare/1.1.8...1.1.9

1.1.8

What's Changed
* Populate the `Token.end_*` fields for ignored tokens by jtbraun in https://github.com/lark-parser/lark/pull/1309
* Include .lark files in package data by ptrcnull in https://github.com/lark-parser/lark/pull/1308
* Add an error message when using Lark.save() when parser!='lalr' by erezsh in https://github.com/lark-parser/lark/pull/1328
* Add and improve docstrings by erezsh in https://github.com/lark-parser/lark/pull/1326
* Small update to PR 1338 by erezsh in https://github.com/lark-parser/lark/pull/1339
* Fix 1345 attempt two by MegaIng in https://github.com/lark-parser/lark/pull/1347
* Earley now uses OrderedSet for better output stability by erezsh in https://github.com/lark-parser/lark/pull/1327
* ContextualLexer now uses self.basic_lexer for easy extensibility (iss… by erezsh in https://github.com/lark-parser/lark/pull/1342
* Improved typing around LALR and ParserState by erezsh in https://github.com/lark-parser/lark/pull/1343
* Typing fixes. Mypy now produces 0 type errors by erezsh in https://github.com/lark-parser/lark/pull/1354
* Standalone: Added support for interactive parser. by erezsh in https://github.com/lark-parser/lark/pull/1356

New Contributors
* jtbraun made their first contribution in https://github.com/lark-parser/lark/pull/1309
* ptrcnull made their first contribution in https://github.com/lark-parser/lark/pull/1308

**Full Changelog**: https://github.com/lark-parser/lark/compare/1.1.7...1.1.8

1.1.7

Bugfix in propagate_positions (issue 1304)

See: https://github.com/lark-parser/lark/releases/tag/1.1.6

1.1.6

What's Changed - main points
* Added strict-mode, enabled by `strict=True`, implemented using interegular by MegaIng
* Read more here: https://lark-parser.readthedocs.io/en/latest/how_to_use.html#strict-mode
* Cache: Replace md5 hashing with sha256. by wilrodriguez in https://github.com/lark-parser/lark/pull/1251
* Support for Python-style comments in Lark grammar by vincent-hugot in https://github.com/lark-parser/lark/pull/1230
* Updates to python.lark
* Bugfixes and cleanup

What's Changed - PRs
* Improve logic and performance by jmishra01 in https://github.com/lark-parser/lark/pull/1228
* Updated Python grammar list literal to support `[*x]` by evtn in https://github.com/lark-parser/lark/pull/1232
* Fix typos by kianmeng in https://github.com/lark-parser/lark/pull/1242
* Examples: Update version for PyQt5 by erezsh in https://github.com/lark-parser/lark/pull/1243
* Support for Python-style comments in Lark grammar by vincent-hugot in https://github.com/lark-parser/lark/pull/1230
* [M:grammar.md] doc: added Python-style comments. by vincent-hugot in https://github.com/lark-parser/lark/pull/1245
* Fix 1154 by MegaIng in https://github.com/lark-parser/lark/pull/1252
* Rephrased docs for interegular PR (1258) by erezsh in https://github.com/lark-parser/lark/pull/1260
* Added interegular support by MegaIng in https://github.com/lark-parser/lark/pull/1258
* Freeze interegular version to 0.2.4 (until fixed) by erezsh in https://github.com/lark-parser/lark/pull/1262
* Codecov github action fixed by erezsh in https://github.com/lark-parser/lark/pull/1263
* Added strict-mode, enabled using the strict=True flag by erezsh in https://github.com/lark-parser/lark/pull/1261
* Unfreeze interegular by MegaIng in https://github.com/lark-parser/lark/pull/1264
* Replace md5 hashing with sha256. by wilrodriguez in https://github.com/lark-parser/lark/pull/1251
* Bump pre-commit hooks and add `codespell` hook by kianmeng in https://github.com/lark-parser/lark/pull/1244
* Docs: Added section about strict-mode to how-to-use by erezsh in https://github.com/lark-parser/lark/pull/1265
* Limit amount of time/effort interegular will use when creating an example by MegaIng in https://github.com/lark-parser/lark/pull/1266
* Added progress bar recipe by MegaIng in https://github.com/lark-parser/lark/pull/1267
* Add exclude in coverage for `if TYPE_CHECKING:` branches by MegaIng in https://github.com/lark-parser/lark/pull/1278
* Cleanup may2023 by erezsh in https://github.com/lark-parser/lark/pull/1276
* Update lexer_state to lexer_thread to avoid deprecation warnings by geographika in https://github.com/lark-parser/lark/pull/1285
* Moved the metadata into `PEP 621`-compliant `pyproject.toml`. by KOLANICH in https://github.com/lark-parser/lark/pull/1157
* propagate_positions: Bugfix + Better documentation by erezsh in https://github.com/lark-parser/lark/pull/1294

New Contributors
* kianmeng made their first contribution in https://github.com/lark-parser/lark/pull/1242
* vincent-hugot made their first contribution in https://github.com/lark-parser/lark/pull/1230
* wilrodriguez made their first contribution in https://github.com/lark-parser/lark/pull/1251
* geographika made their first contribution in https://github.com/lark-parser/lark/pull/1285
* KOLANICH made their first contribution in https://github.com/lark-parser/lark/pull/1157

**Full Changelog**: https://github.com/lark-parser/lark/compare/1.1.5...1.1.6

1.1.5

What's Changed
* setup.cfg: Replace deprecated license_file with license_files by mgorny in https://github.com/lark-parser/lark/pull/1209
* Fix Github shenanigans by erezsh in https://github.com/lark-parser/lark/pull/1220
* Fix AmbiguousExpander (Issue 1214) by chanicpanic in https://github.com/lark-parser/lark/pull/1216
* Fix EOF line information in InteractiveParser.resume_parse() by erezsh in https://github.com/lark-parser/lark/pull/1224
* Use generator instead of list expand or add method by jmishra01 in https://github.com/lark-parser/lark/pull/1225

New Contributors
* mgorny made their first contribution in https://github.com/lark-parser/lark/pull/1209
* jmishra01 made their first contribution in https://github.com/lark-parser/lark/pull/1225

**Full Changelog**: https://github.com/lark-parser/lark/compare/1.1.4...1.1.5

1.1.4

What's Changed
* ci: Python 3.11 final by henryiii in https://github.com/lark-parser/lark/pull/1204
* Add `__all__` to `__init__` by aspizu in https://github.com/lark-parser/lark/pull/1200
* PropagatePositions: Allow any object to carry the metadata, by returning it in `__lark_meta__()` by erezsh in https://github.com/lark-parser/lark/pull/1203
* fix: Token now pattern matches correctly by marcinplatek in https://github.com/lark-parser/lark/pull/1181
* Updates to merge PR 1151 by erezsh in https://github.com/lark-parser/lark/pull/1205
* style: pre-commit basic config by henryiii in https://github.com/lark-parser/lark/pull/1151
* PR for v1.1.4 by erezsh in https://github.com/lark-parser/lark/pull/1208

New Contributors
* aspizu made their first contribution in https://github.com/lark-parser/lark/pull/1200
* marcinplatek made their first contribution in https://github.com/lark-parser/lark/pull/1181

**Full Changelog**: https://github.com/lark-parser/lark/compare/1.1.3...1.1.4

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.