Reverse Polish Notation (RPN)

An alternative to the more common infix notation used for mathematics. Instead of operands surrounding operators, it has all operands come before the relevant operator. Has the benefit of not needing parenthesis to control operator order in compound expressions. Furthermore, can be easily implemented via a stack with extremely simple parsing. It is also a relatively convenient way to input calculations to a calculator when one is used to it.

See Also

Reverse Polish notation - Wikipedia

ROAM_REFS: https://en.wikipedia.org/wiki/Reverse_Polish_notation

Local Graph

org-roam 1a398b8a-8d90-4531-a850-98b0e8939ee5 Polish Notation (PN or NPN) e9002321-7592-4465-a256-0104be238b42 Reverse Polish Notation (RPN) 1a398b8a-8d90-4531-a850-98b0e8939ee5->e9002321-7592-4465-a256-0104be238b42 e9002321-7592-4465-a256-0104be238b42->1a398b8a-8d90-4531-a850-98b0e8939ee5 91062197-4b54-418f-8eef-dd56c3432c55 HP 50g Calculator 91062197-4b54-418f-8eef-dd56c3432c55->e9002321-7592-4465-a256-0104be238b42