Liste des Groupes | Revenir à cl forth |
On 10/09/2024 9:26 pm, Paul Rubin wrote:Hans Bezemer <the.beez.speaks@gmail.com> writes:What bothers me most technologically is that parameters flow through>
the stack undisturbed. You break that paradigm when using locals. With
locals you *HAVE TO* create some kind of stack frame that you have to
destroy when you exit.
Forth programs very frequently end up juggling parameters and other data
to and from the return stack, instead of using locals.
Looking at an application with 154 colon definitions, only 2 were found
to use the return stack for temporary storage. Even I was surprised :)
r 2r> 2
Les messages affichés proviennent d'usenet.