Deutsch   English   Français   Italiano  
<74a5b61b65b89c594e3f653a0266dc874d6cc739@i2pn2.org>

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

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: Fetch string from comment
Date: Wed, 5 Mar 2025 20:16:33 +1100
Organization: i2pn2 (i2pn.org)
Message-ID: <74a5b61b65b89c594e3f653a0266dc874d6cc739@i2pn2.org>
References: <vq4rmt$1dv1v$1@dont-email.me>
 <eaf8e4d9ac9957e6b411400e1490a5aa17fb90d1@i2pn2.org>
 <vq7pps$21q9f$2@dont-email.me>
 <687ff0eebad416a2f284ba186461c6d9c54d91cf@i2pn2.org>
 <ba5ec544f44a5c77f2f7881f67882f66@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 5 Mar 2025 09:16:34 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="2924828"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <ba5ec544f44a5c77f2f7881f67882f66@www.novabbs.com>
Bytes: 1627
Lines: 14

On 5/03/2025 6:57 pm, mhx wrote:
> ... 
> I am not a fan of S\" TYPE as it tends to move the parsing and
> interpretation problems to parts of the code / library that may
> not be prepared for it, or where it would be quite an overhead
> to anticipate every present and future possibility.

What finally drove me to implement escapes was this:

 : RC$ ( -- a n )  \ row/col string
   bin? if  s" \00"  end  s" 000" drop #asc ;

Every other way of doing it looked like a hack.  ... And it solved
the embedded double-quote problem.