Stack-oriented programming
Programming paradigm that relies on a stack machine model
Stack-oriented programming is a programming paradigm that relies on one or more stacks to manipulate data and/or pass parameters. Programming constructs in other programming languages need to be modified for use in a stack-oriented system.
Nº Q52845127 ★
Common · Knowledge
Stack-oriented programming
Programming paradigm that relies on a stack machine model
Stack-oriented programming is a programming paradigm that relies on one or more stacks to manipulate data and/or pass parameters. Programming constructs in other programming languages need to be modified for use in a stack-oriented system.
From Wikipedia
Stack-oriented programming is a programming paradigm that relies on one or more stacks to manipulate data and/or pass parameters. Programming constructs in other programming languages need to be modified for use in a stack-oriented system. Most stack-oriented languages operate in postfix or Reverse Polish notation: arguments or parameters for a command are listed before that command. For example, postfix notation would be written 2 3 multiply instead of multiply 2 3 (prefix or Polish notation), or 2 multiply 3 (infix notation). The programming languages Forth, Factor, RPL, PostScript, BibTeX style design language and many assembly languages fit this paradigm. Stack-based algorithms manipulate data by popping data from and pushing data to the stack. Operators govern how the stack manipulates data. To emphasize the effect of a statement, a comment is often used showing the top of the stack before and after the statement; this is known as the stack effect diagram. Some stack-oriented languages may use multiple stacks for different purposes; for example, PostScript uses separate stacks for variables, dictionaries, procedures, some typical procedures, and control flow statements. Analysis of the language model allows expressions and programs to be interpreted simply.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
C
Control flow
Order in which individual statements, instructions or function calls of an imperative program are executed or evaluated
Nº Q868299 ★★
Not listed
-
V
Void type
In programming languages, a keyword indicating the absence of data
Nº Q513000 ★
Not listed
-
P
PL/SQL
One of the technologies in Oracle Database, a programming language that combines SQL syntax
Nº Q41574 ★★
Not listed
-
Thread pool
A method for efficient parallel processing in computer programs (pre-creating threads and reusing them as tasks occur, reducing overhead of thread creation and destruction, improving system performance, and optimizing resource management)
Nº Q3990847 ★
Not listed
-
C
Clang
Compiler front-end
Nº Q864915 ★★
Not listed
-
Operator (mathematics)
Mapping from one vector space or module to another in mathematics
Nº Q131030 ★★
Not listed
-
D
Dynamic dispatch
Process of selecting which implementation of a polymorphic operation (method or function) to call at run time
Nº Q1268939 ★
Not listed
-
Mathematical Operators (Unicode block)
Unicode block (U+2200-22FF)
Nº Q2493997 ★★
Not listed
-
G
Gleam (programming language)
Functional, concurrent programming language
Nº Q66370905 ★
Not listed
-
R
Recurrence relation
Sequence or array in which each further term is defined as a function of the preceding terms
Nº Q740970 ★★
Not listed
-
O
Object-based language
Programming language
Nº Q899523 ★★
Not listed
-
C
Communicating sequential processes
Formal language for concurrent systems
Nº Q1120460 ★
Not listed
-
L
Loop unrolling
Loop transformation technique
Nº Q1869750 ★
Not listed
-
M
Multi-paradigm programming language
Programming language type
Nº Q12772052 ★★
Not listed
-
K
Knuth's up-arrow notation
Method of notation of very large integers
Nº Q908427 ★★★
Not listed
-
TeX
Typesetting system
Nº Q5301 ★★★
Not listed
-
M
Mixed-integer programming
Mathematical optimization problem with some integer variables and some continuous variables
Nº Q123937489 ★★
Not listed
-
Markup language
Computer language for annotating documents
Nº Q37045 ★★★
Not listed