#reverse-polish-notation #rpn #calc

cashyalla_rpn_calc_test_ver

RPN(Reverse Polish Notation) library

1 unstable release

0.1.1 Feb 13, 2024

#27 in #reverse-polish-notation

MIT license

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

No runtime deps