eva

a read-eval-print-loop, similar to bc(1)

installation

shell $ git clone https://github.com/nerdypepper/eva.git $ cargo run

usage

shell $ eva

type out an expression and hit enter, repeat.

```shell

1 + sin(30) 1.5 floor(sqrt(3^2 + 5^2)) 5 5sin(45) + cos(0) 4.535533905932738 ```

operators

functions

All trignometric functions expect input in degrees.

sin cos tan csc sec cot sinh cosh tanh ln log sqrt ceil floor deg(x) - convert x to degrees rad(x) - convert x to radians abs(x) - (x * x) ^ 0.5

examples:
``` sqrt(sin(30)) # parentheses are mandatory for functions

log100 # no log(100) # yes ```

quality of life features

todo