#rpn #polish #notation #reverse #calc #jwchoi

rpn_calc_hellojaewon

RPN(Reverse Polish Notation) library by jwchoi

1 unstable release

0.1.0 Jan 15, 2023

#33 in #polish

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