Penguin
Note: You are viewing an old revision of this page. View the current version.

Acronym for Reverse Polish Notation.

The idea of putting your operators after your arguments. Arguments are "pushed" onto a stack, and an operator pop's off the required arguments, computes the result and pushes it back onto the stack. For example:

3 1 2 + *

leaves 6 on the stack. Note that RPM doesn't require any brackets.

Compare InfixNotation?, PrefixNotation