2 releases
0.1.1 | Sep 19, 2022 |
---|---|
0.1.0 | Sep 18, 2022 |
#19 in #equation
24KB
476 lines
Equation Solver
This is a simple rust libarary used to compile simple string equations into mathematically evaluatable equations.
Examples
Head over to the examples folder and see a small range of ways that you can use this libarary.
lib.rs
:
The equation-solver
crate allows intaking a string and parsing it into an equation that can be evaluated.
Using this you can compile the equation into a quickly interpretable equation which can be used to evaluate the equation.
Equations follow PEMDAS rules.