Deutsch   English   Français   Italiano  
<53de9d9c27593c926215da4fb41e682f@www.novabbs.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Back & Forth - Co-routines
Date: Thu, 6 Feb 2025 15:46:23 +0000
Organization: novaBBS
Message-ID: <53de9d9c27593c926215da4fb41e682f@www.novabbs.com>
References: <nnd$2fb29a8e$298ef3f8@23fe4f00fa62d734> <vnq10p$162l3$1@dont-email.me> <nnd$28e37865$1ff3c947@ec3118cc4d5fd42b> <874j1aycdt.fsf@nightsong.com> <nnd$68d49e22$0e1b270a@ce4705a037955a82> <3c3bdb056696f15c43fa512b5366002d@www.novabbs.com> <2025Feb6.135712@mips.complang.tuwien.ac.at> <3955434636b2a293c6a9c6d726ff6eae@www.novabbs.com> <ad7048513cca2117bb04396db85ef6196a257605@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="2974006"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="BZ29EnRIXfdX99fE+pfHgueF2xuF1KvSpLJsfuOZy3Y";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$FZQu4aNjNts7Qbi9tKDO6uvWsHWwCDX6NZqUT0z5I0jWhKVhCFFAq
X-Rslight-Posting-User: 0338a3da6f3e9c9f1401b365bcd9c3ed8de2227a
X-Spam-Checker-Version: SpamAssassin 4.0.0
Bytes: 1820
Lines: 11

There is indeed a restriction in standard §3.4:

"A program shall not attempt to nest compilation of definitions.
During the compilation of the current definition, a program
shall not execute any defining word, :NONAME, or any definition
that allocates dictionary data space."

However because local names are not compiled into dictionary data
space, but use their own transient dictionary entries, which
disappear after compilation, this restriction as of $3.4 does not
apply to embedded functions emulated by xt-locals, aka
defer-flavoured locals.