eva

Simple calculator REPL, similar to `bc`, with syntax highlighting and persistent history.

TLDR

Run the calculator in interactive mode

$ eva
copy

Calculate the result of an expression

$ eva "[(1 + 2) * 2 ^ 2]"
copy

Calculate an expression forcing the number of decimal places to 5

$ eva --fix [5] "[5 / 3]"
copy

Calculate an expression with sine and cosine

$ eva "[sin(1) + cos(1)]"
copy

Help

eva 0.2.6 
NerdyPepper  
Calculator REPL similar to bc(1) 

USAGE:
    eva [FLAGS] [OPTIONS] [INPUT] 

FLAGS:
    -h, --help       Prints help information 
    -r, --radian     set eva to radian mode 
    -V, --version    Prints version information 

OPTIONS:
    -b, --base     set the radix of calculation output (1 - 36) 
    -f, --fix        set number of decimal places in the output 

ARGS:
        optional expression string to run eva in command mode 

Copied to clipboard
snescontroller