Annotated edit history of
RPN version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
PerryLorier |
1 |
[Acronym] for __R__everse __P__olish __N__otation. |
|
|
2 |
|
|
|
3 |
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: |
|
|
4 |
|
|
|
5 |
3 1 2 + * |
|
|
6 |
|
2 |
CraigMckenna |
7 |
leaves 6 on the stack. Note that [RPN] doesn't require any brackets. |
1 |
PerryLorier |
8 |
|
|
|
9 |
Compare InfixNotation, PrefixNotation |