Skip to content

Move the math expression parser from Pest to Chumsky and add more features #2685

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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

urisinger
Copy link
Contributor

Part of #2026

Switches to the chumsky parser for performance, remove Unit support until #586 is resolved.

Improves parser performance by about 40%, while also reducing compile times and improving readability.

@Keavon Keavon changed the title Add if statments to math parser and switch to chumsky parser Add if statements to math parser and switch to Chumsky parser Jun 5, 2025
@Keavon Keavon changed the title Add if statements to math parser and switch to Chumsky parser Move the math expression parser from Pest to Chumsky and add more features Jun 9, 2025
@Keavon Keavon marked this pull request as draft June 14, 2025 22:14
@Keavon Keavon force-pushed the master branch 2 times, most recently from 34dced3 to 5cacab2 Compare June 20, 2025 06:47
@Keavon
Copy link
Member

Keavon commented Jun 20, 2025

I have rebased this branch to remove merge commits, so you'll need to git reset --hard to its new ref here on origin.

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.

2 participants