3 ms·
I think RPN was initially adopted for electronic calculators because it is easy to implement. As numbers are entered, they are pushed onto the stack, and then t
by cicero 12y ago
I think RPN was initially adopted for electronic calculators because it is easy to implement. As numbers are entered, they are pushed onto the stack, and then the operations pop operands off of the stack and push results back on the stack. Similarly, code in an RPN language like Forth can be executed left-to-right by pushing the operands onto the stack, and then the operation manipulates the contents of the stack.