Stack-oriented programming language
In computer science, stack-oriented programming language is a programming language that relies on a stack machine model for passing parameters.
Description
Several programming languages fit this description, notably Forth, RPL, PostScript, BibTeX style design language and also many assembly languages (but on a much lower level).
Stack-oriented programming languages operate upon one or more stacks, each of which may serve different purposes. Because of this, programming constructs in other programming languages may need to be modified for use in a stack-oriented programming language.
Adding to this, some stack-oriented programming languages operate in Reverse Polish or postfix notation – that is, the arguments or parameters for some command are stated before the actual command itself. For example, in Reverse Polish notation, one would say "2, 3, multiply" instead of "multiply, 2, 3" (prefix or Polish notation) or "2 multiply 3" (infix notation).
See also
- Concatenative programming language
- List of stack-based programming languages
- Reverse Polish notation
- Stack machine
External links
- Stack-oriented programming language @ Wikipedia