Stack-oriented programming
Stack-oriented programming, is a programming paradigm which relies on a stack machine model for passing parameters. Stack-oriented languages operate on one or more stacks, each of which may serve a different purpose. Programming constructs in other programming languages need to be modified for use in a stack-oriented system. Some stack-oriented languages operate in postfix or Reverse Polish notation. Any arguments or parameters for a command are stated 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.
- Comment
- enStack-oriented programming, is a programming paradigm which relies on a stack machine model for passing parameters. Stack-oriented languages operate on one or more stacks, each of which may serve a different purpose. Programming constructs in other programming languages need to be modified for use in a stack-oriented system. Some stack-oriented languages operate in postfix or Reverse Polish notation. Any arguments or parameters for a command are stated 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.
- Depiction
- Has abstract
- enStack-oriented programming, is a programming paradigm which relies on a stack machine model for passing parameters. Stack-oriented languages operate on one or more stacks, each of which may serve a different purpose. Programming constructs in other programming languages need to be modified for use in a stack-oriented system. Some stack-oriented languages operate in postfix or Reverse Polish notation. Any arguments or parameters for a command are stated 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 consider data, by utilising one piece of data from atop the stack, and returning data back atop the stack. The need for stack manipulation operators, allow for the stack to manipulate data. To emphasise the effect of a statement, a comment is used showing the top of the stack before and after the statement. This is known as the stack effect diagram. Postscript stacks consider separate stacks for additional purposes. This considers variables, dictionaries, procedures, anatomy of some typical procedures, control and flow. The analysis of the language model allows expressions and programs to be interpreted simply and theoretically.
- Is primary topic of
- Stack-oriented programming
- Label
- enStack-oriented programming
- Link from a Wikipage to another Wikipage
- Assembly language
- Assertion (computing)
- BibTeX
- Category:Programming paradigms
- Category:Stack-oriented programming languages
- Data
- Factor (programming language)
- Fibonacci number
- File:Human stack.svg
- Forth (programming language)
- Hoare logic
- If-then-else
- Infix notation
- Key–value pair
- Language model
- Lexical analysis
- List of stack-based programming languages
- Method overriding
- Parameter (computer programming)
- Polish notation
- Postcondition
- PostScript
- Precondition
- Programming paradigm
- Return-oriented programming
- Reverse Polish notation
- RPL (programming language)
- Stack (abstract data type)
- Stack (data structure)
- Stack machine
- Syntax analysis
- SameAs
- 47bPe
- Lenguaje de programación orientado a pila
- Programmazione stack-oriented
- Q4441564
- Q52845127
- Стекова мова програмування
- Стековый язык
- 面向堆栈编程
- Subject
- Category:Programming paradigms
- Category:Stack-oriented programming languages
- Thumbnail
- WasDerivedFrom
- Stack-oriented programming?oldid=1123046755&ns=0
- WikiPageLength
- 13619
- Wikipage page ID
- 910837
- Wikipage revision ID
- 1123046755
- WikiPageUsesTemplate
- Template:Mono
- Template:Multiple issues
- Template:Programming paradigms
- Template:Redirects here
- Template:Refimprove
- Template:Rewrite lead
- Template:Short description
- Template:Tone
- Template:Types of programming languages