chore(deps): bump stil4m/elm-syntax from 7.3.2 to 7.3.6 in /new-package/review-config-templates/2.3.0
Bumps stil4m/elm-syntax from 7.3.2 to 7.3.6.
Changelog
Sourced from stil4m/elm-syntax's changelog.
[7.3.6] - 2024-09-11
- The parser is stricter in a few cases where code that was incorrect (according to the Elm compiler) was successfully parsed: tuple patterns and tuple type annotations with more than 3 parts, non-associative operators (so no more
a < b < c), lambda indentation- The parser removes incorrect failures with specific operator combinations like
a + b /= 0due to specifics of the pratt parser- Parsing is about 50% faster than the previous release!
[7.3.5] - 2024-08-30
- The parser is stricter in a few cases where code that was incorrect (according to the Elm compiler) was successfully parsed: tuple expressions with more than 3 parts, and record access on most things
- Parsing is about 6 times faster than the previous release!
[7.3.4] - 2024-07-26
Parsing is faster by ~90%. A big thank you to
@lue-birdfor finding and introducing a huge amount of performance improvements.[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, which improves performance by about 15%.
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
@jiegilletand@janiczekfor their help.Deprecation of Elm.Writer
The
Elm.Writermodule 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
1e1ae7e7.3.61093a42correct float handling of the custom parser09c9b69clarify what is meant with tuples7a1be94avoid a new allocation924e9b6move infixOperatorAndThen into extendedSubExpressionOptimisticLayout27931e1mention fixed incorrect failures on specific operator combinations in changelogd604554apply tests for #258 by@jfmengels8c5a9d6_ for unused pattern variable5705bc3remove unused oneOfNs33fe359correct and speed up infix operator handling- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Should be good to merge (SemVer minor), but we probably ought to wait until CI's fixed (https://github.com/jfmengels/node-elm-review/issues/176#issuecomment-2325358713).
@dependabot rebase
Looks like stil4m/elm-syntax is up-to-date now, so this is no longer needed.