Crate rpn_calc

source ·
Expand description

#RPN Calc //! Reverse Polish notation (RPN) Calc.

§Example

let src = String::from("1 2 + 3 *");
let a = rpn_calc::eval(src).unwarp();
println!("{}", a); // -> 9

Functions§