Deutsch   English   Français   Italiano  
<28a769be534e2d4fbab67af63bc14f04@www.novabbs.com>

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

Path: ...!news.misty.com!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: quotations
Date: Sun, 9 Feb 2025 14:35:23 +0000
Organization: novaBBS
Message-ID: <28a769be534e2d4fbab67af63bc14f04@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> <2025Feb6.182051@mips.complang.tuwien.ac.at> <246bf746dbd7827c3e6edf3027f51ef8c416c39d@i2pn2.org> <2025Feb8.124132@mips.complang.tuwien.ac.at> <e5ab777495f7ff1da4eb1287daa6939a760b4381@i2pn2.org> <87seonwonh.fsf@nightsong.com> <6055edd6a82faf47647bd2c6b56b4bb0cba00289@i2pn2.org> <87o6zbwgkr.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="3434408"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="BZ29EnRIXfdX99fE+pfHgueF2xuF1KvSpLJsfuOZy3Y";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$1ouZO74w6qc3I0y.aeCXmu3adR2Iv3xRabFzu4d7vo2H5GhpPsfoa
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 0338a3da6f3e9c9f1401b365bcd9c3ed8de2227a
Bytes: 2088
Lines: 11

On Sun, 9 Feb 2025 10:36:04 +0000, Paul Rubin wrote:

> So are quotations worth it for Forth?  I don't know.  I see some uses
> for them but I'd tend to say that style is more common in GC'd
> languages.

Forth quotations are embedded anonymous functions. They
produce a single execution token on the stack. No GC required.

Forth closures are not standard. But generally spoken, closures
are single-function aka one-shot objects. So gforth-specific
closures offer several ways to free used memory after use.