Parsing converts a string slice into a value of a target type. In an RPN calculator, each non-operator term is parsed as an integer before being pushed onto a stack. section 3.2.3
Parsing RPN numbers
For `3 4 hello`, parsing produces `NUM 3` and `NUM 4`, then returns an error for `hello`; valid numbers can be pushed onto the evaluation stack.












