feat(eval): add extremely basic evaluation

added a basic `eval_expr` function that evaluates an expression.
it still does not reduce/simplify anything, and it cannot evaluate to fractions yet
This commit is contained in:
ozzy committed 2026-09-26 14:51:33 -05:00
1 parent b68b1db2f6
commit 234b2ef2dc
4 files changed
+44 -2

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rust_decimal = { version = "1.43.0", features = ["macros"] }
rust_decimal = { version = "1.43.0", features = ["macros", "maths"] }