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
-
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
-
Overfitting
Production of an analysis that corresponds too closely or exactly to a particular set of data, and may therefore fail to fit additional data or predict future observations reliably
Nº Q331309 ★★
Not listed
-
COBOL
Programming language with English-like syntax
Nº Q131140 ★★★
Not listed
-
S
Static program analysis
Program analysis performed without actually executing programs
Nº Q1329550 ★★★
Not listed
-
H
HMAC-based one-time password
Password authentication algorithm
Nº Q4040283 ★★
Not listed
-
Dependency injection
Technique in software engineering
Nº Q635336 ★★★
Not listed
-
C
Convention over configuration
Software design paradigm
Nº Q1462470 ★
Not listed
-
C++
General-purpose programming language
Nº Q2407 ★★★★
Not listed
-
P
Paxos (computer science)
Family of protocols for solving consensus in a network of unreliable processors
Nº Q987969 ★★
Not listed
-
S
Stdarg.h
C standard library header file for variadic functions
Nº Q248399 ★
Not listed
-
Stokoe notation
Phonemic script for sign languages
Nº Q7618587 ★
Not listed
-
Idempotence
Property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application
Nº Q368988 ★★★★
Not listed