sexe icon indicating copy to clipboard operation
sexe copied to clipboard

simple expression evaluator

(s)imple (ex)pression (e)valuator

Build Status

Thanks to Michael Gottlieb for this neat looking function! mzrg.com/

There are three components in this project:

  • An expression engine that models and evaluates arbitrary arithmetic expressions (sexe-expression).
  • A parser to convert human written expressions into a model that can be evaluated with the expression engine (sexe-parser).
  • A graphing interface for the terminal, to graph functions across a specified 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.