[Home]Stack-based

HomePage | Recent Changes | Preferences

A term referring to a system being based on the use of stacks, in contrast to being [register based]?.

The Forth language uses two stacks, one for argument passing and one for subroutine return addresses. The use of a return stack is extremely commonplace, but the somewhat unusual use of an argument stack for a human-readable programming language is the reason Forth is referred to as a stack-based language.

Many Virtual Machines are stack-based, such as the Java virtual machine and the [Python virtual machine]?.


HomePage | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited August 3, 2001 3:29 am by WillWare (diff)
Search: