Move the math expression parser from Pest to Chumsky and add more features#2685
Conversation
34dced3 to
5cacab2
Compare
|
I have rebased this branch to remove merge commits, so you'll need to |
316a737 to
532e913
Compare
ec51271 to
e025103
Compare
|
How far is this? I might be interested in implementing some math expressions from #2026 |
Its ready for review, its just not being merged becuase without variadics of some form this node is pretty useless, creating the custom error message for the node is also a difficult task. |
124235a to
a42cad8
Compare
3697b7d to
90533e6
Compare
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Add one-off context when rerunning by tagging
@cubic-dev-aiwith guidance or docs links (includingllms.txt) - Ask questions if you need clarification on any suggestion
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
e58c1de to
df8001f
Compare
9b97ab7 to
2e842cb
Compare
|
All the AI reviews are mostly valid. |
|
There are some unused imports too. |
f07c79b to
76938eb
Compare
4b7a823 to
847b8e9
Compare
15fcaac to
d5f0140
Compare
c2f0c11 to
b1c49fe
Compare
…r, adding functions, comparisons, logic, and conditionals
|
!build (Run ID 30219912385) |
Wasm: 36.28 MB — JS: 0.44 MB — CSS: 0.09 MB — Fonts: 0.30 MB — Images: 0.09 MB — All Assets: 37.21 MB |
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.