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

wip: Trying to make chumsky 1.0.0 work #4072

Closed
wants to merge 13 commits into from
Closed

Conversation

sirasistant
Copy link
Contributor

Description

Problem*

Resolves

Summary*

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is not the first effort to migrate to 1.0, I think it's alright if we have to remove a few of our existing parser recovery tests to make this work. We'll re-evaluate / rework recovery at a later date anyway. IIRC last time we tried to migrate to 1.0 we got everything working sans 2 parser recovery tests.

Comment on lines +118 to +122
// TODO why chumsky reports reversed ranges??
if range.start > range.end {
range = Range { start: range.end, end: range.start };
} else {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been a problem in the past when using certain error recovery strategies I think. Hopefully it hasn't gotten more common with 1.0 😅

@michaeljklein
Copy link
Contributor

Because release candidates for chumsky 1.0.0 are failing to build and/or untagged on github, I'm holding off on continuing on this for now.

  • The .0 release candidate of chumsky 1.0.0 is the latest tagged version on github, but it fails to compile
  • The latest version with a tag is pre-1.0.0 (0.9.3)

@TomAFrench
Copy link
Member

Closing as this branch seems abandoned

@TomAFrench TomAFrench closed this Jul 15, 2024
@TomAFrench TomAFrench deleted the chumsky_1.0.0 branch November 20, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants