(s)imple (ex)pression (e)valuator
There are three components to this project:
- A system to model and evaluate arbitrary arithmetic expressions (src/expression.rs)
- A parser to parse human written expressions into an expression model that can be evaluated (src/parser.rs)
- A graphing interface for the terminal, to graph functions across some domain (src/interface.rs)
There is a variety of supported syntax when writing functions. Is something missing? Make an issue or PR!
Installation
Rust and Cargo must be installed. I recommend using rustup.
git clone https://github.com/z2oh/sexe
cd sexe
cargo build --release
The binary is then located at ./target/release/sexe
.