Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: locals Date: Fri, 01 May 2026 23:54:11 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: <87lde22tf0.fsf@nightsong.com> References: <10qunhm$1nnbt$1@dont-email.me> <10r1825$2d8j6$1@dont-email.me> <69db0856$1@news.ausics.net> <871pg66epy.fsf@nightsong.com> <2026Apr25.064712@mips.complang.tuwien.ac.at> <87o6j74l1z.fsf@nightsong.com> <2026Apr25.084323@mips.complang.tuwien.ac.at> <87340i46vi.fsf@nightsong.com> <2026Apr26.115059@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 02 May 2026 06:54:12 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2086224"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HyL8zVqj9LzvsAhF7dkeZ"; posting-host="ba054269875f2ad3fe21291289399423" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:lJmcs2E9G7ZLcZ9s9jtQ2aVu8PU= sha1:EwIP3Dh1nDfX3Szgasi9mK9be+k= Xref: csiph.com comp.lang.forth:135050 anton@mips.complang.tuwien.ac.at (Anton Ertl) writes: > You might then just as well work with >R >R >R >R and R@, R'@, 2 RPICK > and 3 RPICK. But, now you have to avoid mixing that style with using the R stack for temporaries, including stuff like loop indexes which sometimes go there. And you have to clean up the R stack before returning, and maybe arrange for that to happen in case of an exception. Flashforth has a separate P stack which can be used for temporaries within a word, but I don't remember how cleanup is handled, if at all.