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
-
MapReduce
Programming model for efficient queries over huge datasets, introduced by Google
Nº Q567759 ★★★
Not listed
-
M
Magic (programming)
In computer programming, an abstraction that handles complex tasks while hiding that complexity to present a simple interface
Nº Q6730587 ★★
Not listed
-
V
Verbose mode
Option in software to output more or less information about the software's operations as it performs them
Nº Q2514191 ★
Not listed
-
Parsing
Process of analyzing a string of symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal grammar
Nº Q194152 ★★
Not listed
-
PostScript
Programming language
Nº Q218170 ★★
Not listed
-
Java syntax
Set of rules defining correctly structured programs
Nº Q451207 ★
Not listed
-
Algorism
Mathematical technique for arithmetic
Nº Q864014 ★
Not listed
-
KaTeX
Cross-browser JavaScript library that displays mathematical notation in web browsers
Nº Q28448331 ★
Not listed
-
D
Differentiable programming
Programming paradigm in which a numeric computer program can be differentiated throughout via automatic differentiation, allowing for machine learning based on gradient descent etc.
Nº Q63100473 ★
Not listed
-
S
Stochastic dominance
Partial order between random variables
Nº Q3713315 ★
Not listed
-
C
Currying
Transforming a function in such a way that it only takes a single argument
Nº Q1144925 ★★
Not listed
-
Π
Π-calculus
Process calculus
Nº Q602886 ★
Not listed
-
Computer language
Formal language used in communication with a computer
Nº Q629206 ★★
Not listed
-
Forward–backward algorithm
Hidden Markov model inference algorithm which computes the posterior marginals of all hidden state variables given a sequence of observations, making use of dynamic programming to make only 2 passes: one forward, one backward
Nº Q4909 ★
Not listed
-
A
Arden syntax
File format
Nº Q638823 ★
Not listed
-
F
Functional programming language
Programming language that uses functional programming principles
Nº Q3839507 ★
Not listed
-
Object-oriented programming
Programming paradigm based on the concept of objects
Nº Q79872 ★★★★
Not listed
-
LaTeX
Document markup language
Nº Q5310 ★★★★
Not listed