Homework 5: Postfix Evaluation Submission instructions
Write a postfix expression evaluator. An expression consists of operands and operators. An operand is a signed integer ( isize ). An operator is + , , or * with their common semantics. An expression is valid if it can be evaluated to a signed integer.
For example, the following are valid expressions:
The following expressions are invalid:
Your program must provide the following public API.
$ cargo new 5 name your
$ git push origin master
$ cd 5
$ # Save your program in `src/lib.rs`
$ git add Cargo.toml src/lib.rs
$ git commit