#reverse-polish-notation #rpn

orfeo_rpn_calc

RPN(Reverse Polish Notation) library

1 stable release

1.0.0 Aug 14, 2024

#7 in #reverse-polish-notation

MIT license

3KB

#RPN Calc Reverse Polish Notation(RPN) Calc. #Example

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

No runtime deps