1 unstable release
0.1.0 | May 11, 2024 |
---|
#19 in #reverse-polish-notation
1MB
91 lines
Contains (WOFF font, 400KB) NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2, (WOFF font, 135KB) FiraSans-Medium-8f9a781e4970d388.woff2, (WOFF font, 130KB) FiraSans-Regular-018c141bf0843ffd.woff2, (WOFF font, 82KB) SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2, (WOFF font, 77KB) SourceSerif4-Regular-46f98efaafac5295.ttf.woff2, (WOFF font, 45KB) SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 and 3 more.
rpn_calc
lib.rs
:
#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