Content deleted Content added
DanielPharos (talk | contribs) Added to Computing wikiproject |
Added a point about "stack based hardware" |
||
Line 8:
BASIC (the version with line number) is a language that doesn't necessarily need a stack-based processor (that is, when no subcalling is implemented (GOSUB)).
The above ("doesn't necessarily need a stack-based processor") is true for most languages, since stacks can easily be implemented in low level software. Non-recursive sub routines can effectively be called without a stack at all, too, through self modifying code (this is how it's done on Propeller processors, AFAIK). For conveniently parsing mathematical expressions in language such as BASIC, i think that you are stuck using an expression stack, though. [[Special:Contributions/88.131.41.70|88.131.41.70]] ([[User talk:88.131.41.70|talk]]) 14:08, 8 June 2011 (UTC)
==Confusion in "Operations of the stack" section==
|