Sujet : Re: Standard compliance for systems
De : mhx (at) *nospam* iae.nl (mhx)
Groupes : comp.lang.forthDate : 22. Nov 2024, 12:35:01
Autres entêtes
Organisation : novaBBS
Message-ID : <dd6dfe04d2c573b2ce66f723f5bc3959@www.novabbs.com>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Rocksolid Light
On Fri, 22 Nov 2024 10:11:48 +0000, minforth wrote:
[..]
If you have a lot of strings to juggle, treat yourself
to a string stack. Forth is all about flexibility, right?
When parsing commands for my engineering tools, strings
are indispensable. But I use a ringbuffer, not a stack.
Nowadays I tend to use temporary redirection of I/O to
(large) strings with <$$ ... $$> ( -- c-addr u ). For
short sequences nothing beats $+ .
-marcel