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

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

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: QUIT and ABORT
Date: Fri, 16 May 2025 18:19:42 +1000
Organization: i2pn2 (i2pn.org)
Message-ID: <e32f5681efc287a2089300a61fc8db21d04ff7d0@i2pn2.org>
References: <87bjtn2hct.fsf@gmail.com>
 <2025May3.072517@mips.complang.tuwien.ac.at>
 <6973d7bc1d0376ab234a39a3dda82287b7b13450@i2pn2.org>
 <2025May3.180226@mips.complang.tuwien.ac.at>
 <b78a04cbc0fc7c0a6c041e46ea83dc7a6206e5d6@i2pn2.org>
 <2025May4.153331@mips.complang.tuwien.ac.at>
 <6a9a2b6e873c1b72bdec2c72749ef0aac6f33f42@i2pn2.org>
 <vvashh$ra84$1@dont-email.me>
 <60caba147f217f0c677ddc6bf8a7492a3c69688b@i2pn2.org>
 <2025May6.091324@mips.complang.tuwien.ac.at>
 <f3783e59aec9762f3871cfb39f36c514dc05f214@i2pn2.org>
 <vvg6l5$12kee$1@dont-email.me>
 <35ba145b7baa62154479eac080a2f6995b24b8e8@i2pn2.org>
 <vvi9b5$1ogea$1@dont-email.me>
 <0c4bc1ac6f9595ebc81448f21aade5d54639ada9@i2pn2.org>
 <vvk6s9$2jjoh$1@dont-email.me>
 <5069a2ba51509e4f92ffa680982a4e353ec45ab8@i2pn2.org>
 <vvlke3$2neud$1@dont-email.me> <vvvlin$1rk75$1@dont-email.me>
 <696f4a3105690a7ea898d1778a37d345cbd4c598@i2pn2.org>
 <1001gaa$2b9mr$2@dont-email.me>
 <9d4eb41927bc7282d1568054a0d94b5a0f60056b@i2pn2.org>
 <1006jsi$3js21$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 May 2025 08:19:46 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="568374"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
In-Reply-To: <1006jsi$3js21$1@dont-email.me>
X-Spam-Checker-Version: SpamAssassin 4.0.0
Content-Language: en-GB

On 16/05/2025 3:53 pm, Ruvim wrote:
> On 2025-05-15 06:14, dxf wrote:
>> ...
>>
>> CATCH has already done the damage.  It would be naive for a programmer
>> to assume he can re-throw QUIT and it will be as if nothing ever happened.
> 
> My point is that such a word is completely useless.

The goal is catching fish.  What happens to the ones you catch and then
decide to throw it back in is relatively minor.  If they end up a bit
worse for wear that's just how it is.

>> Presumably an implementer of a catchable QUIT actually wants it caught.
>> The question then is what can he do for the occasions when he wants it
>> impervious to CATCH and there are solutions for that.
>>
> 
> What solution do you mean?

Default behaviour of QUIT is Core QUIT.  THROW handles -56 by jumping to
Core QUIT.  The application programmer then has the option of making QUIT
catchable by defining:

  : QUIT -56 THROW ;