1 unstable release
0.1.0 | May 29, 2022 |
---|
#36 in #reverse-polish-notation
4KB
53 lines
RPN Calc
Reverse Polish notation (RPN) Calc.
Example
let src = String::from("1 2 + 3 * ");
let a = rpn_calc::eval(src).unwrap();
println!("{}", a); // →9
0.1.0 | May 29, 2022 |
---|
#36 in #reverse-polish-notation
4KB
53 lines
Reverse Polish notation (RPN) Calc.
let src = String::from("1 2 + 3 * ");
let a = rpn_calc::eval(src).unwrap();
println!("{}", a); // →9