1 unstable release
0.0.1 | Jul 13, 2023 |
---|
#42 in #polish
3KB
RPN Calc
Reverse Polish notation (RPN) Calc.
Example
let source = "1 2 + 3 *".to_string();
let a = rpn_calc::eval(source).unwrap();
println!("{}", a); // 9
0.0.1 | Jul 13, 2023 |
---|
#42 in #polish
3KB
Reverse Polish notation (RPN) Calc.
let source = "1 2 + 3 *".to_string();
let a = rpn_calc::eval(source).unwrap();
println!("{}", a); // 9