Concatenative programming languageIn concatenative programming languages, the concatenation of appropriate programs denotes the composition of the functions which the programs denote. Operations map an input stack into a results stack, and so it is possible to repeatedly concatenate a sequence of operations. A programming language is concatenative (and not applicative) when:
ExamplesThe canonical examples of concatenative programming languages are Forth and Joy. In Joy, the program fragment:
Pushes "2" then "7" onto the stack. The "+" operator then replaces the stack with a new stack that contains the resulting sum "9". The Category:Concatenative programming languages contains an exhaustive list of those known to AskFactMaster.Com. External links
|
|
This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia article. Browse Wikipedia for more information. |