[Home]Stack-based

HomePage | Recent Changes | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 3c3,5
Also many Virtual Machines are stack-based, but others are not, like the Java VM ((not sure what this link should Link to, right now I set it to 'Jvm').
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]?.

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: