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

Rewrite the math-parser library using a chumsky-based lexer and parser, adding functions, comparisons, logic, and conditionals
This commit is contained in:
urisinger
2026-09-15 14:38:00 +02:00
committed by Dennis Kobert
parent c4da22f4a4
commit 860174c08e
13 changed files with 1415 additions and 534 deletions
+1 -2
View File
@@ -8,11 +8,10 @@ description = "Parser for Graphite style mathematics expressions"
license = "MIT OR Apache-2.0"
[dependencies]
pest = "2.7"
pest_derive = "2.7"
thiserror = "2.0"
lazy_static = "1.5"
num-complex = "0.4"
chumsky = { version = "0.10", default-features = false, features = ["std"] }
[dev-dependencies]
criterion = { workspace = true }