Expand description

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

Functions