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
-
Unified Modeling Language
Software system design modeling tool
Nº Q169411 ★★★
Not listed
-
ALGOL
Family of imperative computer programming languages
Nº Q188436 ★★★
Not listed
-
Bottom-up and top-down approaches
Strategies of information processing and ordering of knowledge
Nº Q2167279 ★★
Not listed
-
M
Multiprotocol Label Switching
Network routing scheme based on labels identifying paths
Nº Q677023 ★★
Not listed
-
Fortran
General-purpose programming language
Nº Q83303 ★★★
Not listed
-
Ordinal indicator
Typographical character
Nº Q1811486 ★★★
Not listed
-
O
Overhead (computing)
Any combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to perform a specific task
Nº Q2006368 ★
Not listed
-
SYCL
Higher-level programming model for OpenCL
Nº Q41776209 ★
Not listed
-
T
Typedef
Reserved keyword in the C and C++ programming languages
Nº Q2629778 ★
Not listed
-
Gram–Schmidt process
Method for orthonormalising a set of vectors
Nº Q475239 ★★★
Not listed
-
L
Language Server Protocol
Protocol between IDEs and programming language-specific servers
Nº Q30251139 ★★
Not listed
-
S
Structured concurrency
Programming paradigm aimed at improving programming via a structured approach to concurrent programming
Nº Q85803803 ★
Not listed
-
Dynamic programming
Problem optimization method that simplifies a complicated problem by decomposing it into simpler subproblems recursively
Nº Q380679 ★★★
Not listed
-
M
MurmurHash
Non-cryptographic hash function
Nº Q4044654 ★★
Not listed
-
I
Interpretation (logic)
Assignment of meaning to the symbols of a formal language
Nº Q523607 ★
Not listed
-
Magic number (programming)
Sequence of bytes used to identify or indicate the format of a file
Nº Q284099 ★★★
Not listed
-
Computer algebra system
Mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists
Nº Q830340 ★★
Not listed
-
Data model
An abstract model that organizes elements of data and standardizes how they relate to one another and to real world entities.
Nº Q1172480 ★★
Not listed