Reverse Polish Notation (RPN)
GPTKB entity
Statements (27)
Predicate | Object |
---|---|
gptkbp:instanceOf |
gptkb:mathematical_concept
|
gptkbp:advantage |
eliminates need for parentheses
simplifies computation |
gptkbp:alsoKnownAs |
postfix notation
|
gptkbp:basisFor |
gptkb:Forth_programming_language
gptkb:Joy_programming_language gptkb:PostScript_language gptkb:Factor_programming_language |
gptkbp:category |
gptkb:logic
arithmetic notation |
gptkbp:contrastsWith |
gptkb:infix_notation
prefix notation |
gptkbp:example |
3 4 +
5 1 2 + 4 * + 3 - |
https://www.w3.org/2000/01/rdf-schema#label |
Reverse Polish Notation (RPN)
|
gptkbp:introducedIn |
1920s
|
gptkbp:inventedBy |
gptkb:Jan_Łukasiewicz
|
gptkbp:notation |
operator follows operands
|
gptkbp:parsingMethod |
stack-based evaluation
|
gptkbp:relatedTo |
gptkb:Polish_notation
stack data structure |
gptkbp:usedBy |
gptkb:HP_calculators
|
gptkbp:usedIn |
computer science
calculators stack-based programming languages |
gptkbp:bfsParent |
gptkb:HP-45
|
gptkbp:bfsLayer |
6
|