Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stil4m/elm-syntax from 7.3.2 to 7.3.3 in /review #50

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 19, 2024

Bumps stil4m/elm-syntax from 7.3.2 to 7.3.3.

Changelog

Sourced from stil4m/elm-syntax's changelog.

[7.3.3] - 2024-07-18

Parser rewrite using a Pratt parser

This patch is a major rewrite of the parser, which now uses a Pratt parser under the hood (see https://martin.janiczek.cz/2023/07/03/demystifying-pratt-parsers.html for an explanation).

Prior to this version, the source code was parsed and then post-processed - to rebalance the tree around operator precedence and to attach documentation comments. This is now all done in a single pass.

This rewrite includes a few additional changes:

  • a few bug fixes where code that was incorrect Elm code (according to the Elm compiler) was successfully parsed
  • better performance, parsing should now be faster
  • support for multiline strings in patterns

A big thank you to @​jiegillet and @​janiczek for their help.

Deprecation of Elm.Writer

The Elm.Writer module has never been very good and tended to, and we do not desire maintaining it, and it will therefore likely be removed in a future major version. We highly recommend using the-sett/elm-syntax-dsl instead, which is much better anyways.

Commits
  • 97b9b58 7.3.3
  • 8138fc6 Support multi-line string pattern in case expressions
  • ad54082 Remove dummy post-processing step in parseToFile
  • cb02949 Deprecate Elm.Writer
  • a3b19d0 Use backticks for project names
  • e599878 Mention elm-codegen in README
  • 685384b Change link to elm-review
  • 0299c02 Format README like elm-format
  • 03954ae Use Elm.Parser.parseToFile in README
  • dc420f5 Indicate that post-processing is unnecessary
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [stil4m/elm-syntax](https://github.com/stil4m/elm-syntax) from 7.3.2 to 7.3.3.
- [Changelog](https://github.com/stil4m/elm-syntax/blob/master/CHANGELOG.md)
- [Commits](stil4m/elm-syntax@7.3.2...7.3.3)

---
updated-dependencies:
- dependency-name: stil4m/elm-syntax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elm Pull requests that update Elm code labels Jul 19, 2024
@bdukes bdukes merged commit fd5718b into master Jul 19, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/elm/review/stil4m/elm-syntax-7.3.3 branch July 19, 2024 12:30
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 elm Pull requests that update Elm code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant