1 unstable release
0.1.1 | Jun 28, 2023 |
---|
#46 in #reverse-polish-notation
3KB
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
RPN(Reverse Polish Notation) library
0.1.1 | Jun 28, 2023 |
---|
#46 in #reverse-polish-notation
3KB
Reverse Polish notation (RPN) Calc.
let src = String::from("1 2 + 3 * ");
let a = rpn_calc::eval(src).unwrap();
println!("{}", a); // →9