Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps lark-parser from 0.7.8 to 0.8.2.

Release notes

Sourced from lark-parser's releases.

MyPy support, Lark serialization, and standalone license is now MPL2

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.

Bugfix + Reverted breaking changes. Now backwards compatible to 0.7

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

  • Bugfix in standalone parser

Lark v0.8 - Better LALR and other improvements

- 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

  • maybe_placeholders is now the default (backwards-incompatible)** (REVERTED in 0.8.1)

Commits
  • aa82f5a Version bump
  • 9ec9acf The standalone parser is now licensed under MPL2 (instead of GPL) (Issue #507)
  • 21d2016 Added methods for saving/loading Lark instances with pickle (Issue #479)
  • 636492c Updated recipes.md
  • 287b105 Added CollapseAmbiguities
  • ddb5309 Merge pull request #524 from KmolYuan/issue_523
  • d0f9f71 Remove non-public classes in lexer.pyi.
  • 803b1fe Apply changes and extend more names.
  • 97afea2 Make LarkError public.
  • 42fa4ed Use wildcard import syntax in init.pyi.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [lark-parser](https://github.com/erezsh/lark) from 0.7.8 to 0.8.2.
- [Release notes](https://github.com/erezsh/lark/releases)
- [Commits](lark-parser/lark@0.7.8...0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 9, 2020
@coveralls
Copy link

coveralls commented Mar 9, 2020

Pull Request Test Coverage Report for Build 455

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.525%

Totals Coverage Status
Change from base Build 453: 0.0%
Covered Lines: 1134
Relevant Lines: 1239

💛 - Coveralls

@dependabot-preview
Copy link
Contributor Author

Superseded by #104.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/lark-parser-0.8.2 branch March 30, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant