Sujet : Re: Back & Forth - Co-routines
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forthDate : 06. Feb 2025, 10:20:16
Autres entêtes
Organisation : novaBBS
Message-ID : <3c3bdb056696f15c43fa512b5366002d@www.novabbs.com>
References : 1 2 3 4 5
User-Agent : Rocksolid Light
On Tue, 4 Feb 2025 12:26:26 +0000,
albert@spenarnc.xs4all.nl wrote:
Remark that is doesn't introduce any unfamiliar syntax,
only does away with "Forth shall not nested definitions"
(Says who?)
Given that a Forth system supports quotations and xt-locals,
nested definitions are easy to implement. BTW xt-locals exist
f.ex. in gforth. They hold xt's and when called execute the xt
instead of pushing it to the stack as normal locals would do.