Re:Stem, a stack-based language with metaprogramming and a C...
by jkafjanvnfaf on Saturday January 27, 2024 @03:48AM
(#39153835)
For completeness, there are languages that do not require stacks to implement (nor any workarounds that in practice emulate a stack). If you do not support explicit recursion, you don't need one. All variables can be statically allocated and only a single return address needs to be stored for each function, so you do not need a stack for return addresses either.
The most famous example is FORTRAN, until 1990 when they added RECURSIVE directive.
The most famous example is FORTRAN, until 1990 when they added RECURSIVE directive.