Deutsch   English   Français   Italiano  
<nnd$7d6e16de$78c9f5b5@7d0d4c583323cd1e>

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

Newsgroups: comp.lang.forth
References: <f827ba6fc80427f3ce0317835bd8ae47a4445e07@i2pn2.org> <2025Jun3.081034@mips.complang.tuwien.ac.at> <daf531f19ecb07c75994e9c0b371001c79f6929a@i2pn2.org> <101q6ik$10htc$1@dont-email.me>
From: albert@spenarnc.xs4all.nl
Subject: Re: THROW codes and ambiguous conditions
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$7d6e16de$78c9f5b5@7d0d4c583323cd1e>
Organization: KPN B.V.
Date: Thu, 05 Jun 2025 12:17:11 +0200
Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 45
Injection-Date: Thu, 05 Jun 2025 12:17:11 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
Bytes: 2805

In article <101q6ik$10htc$1@dont-email.me>,  <sean@conman.org> wrote:
>It was thus said that the Great dxf <dxforth@gmail.com> once stated:
>>
>> Perhaps the TC went along with Mitch.  CATCH THROW was his idea and
>> here's a bunch of codes to go with it.  The extent to which a tiny forth
>> is going to use ANS is dubious.
>
>  What constitutes a "tiny Forth"?  Because I just implemented ANS Forth [1]
>for the 6809 [2], and I included CATCH and THROW.  It's almost 12K in size
>and for the wordsets it implements, it passes the ANS Forth test suite.  I
>implemented the EXCEPTION wordset because it seems a 2017 update mandated
>it's use.  While I'm not a fan of exceptions, it wasn't hard to implement
>and it seemed better thought out than SYNONYM [4].

Good work, 12K is justly considered tiny.
>
>  -spc
>
>[1]    I implemented CORE, CORE-EXT, DOUBLE, DOUBLE-EXT, EXCEPTION,
>       EXCEPTION-EXT, LOCAL, LOCAL-EXT, TOOLS, some of TOOLS-EXT [3],
>       SEARCH, SEARCH-EXT, STRING and STRING-EXT.
>
>[2]    https://github.com/spc476/ANS-Forth
>
>[3]    Words implemented from TOOLS-EXT: AHEAD, BYE, CS-PICK, CS_ROLL, N>R,
>       NAME>COMPILE, NAME>INTERPRET, NAME>STRING, NR>, STATE,
>       TRAVERSE-WORDLIST, [DEFINED], [ELSE], [IF], [THEN], [UNDEFINED].
>
>[4]    When reading about it [5], I decided I didn't want anything to do
>       with that quagmire of a word.
>
>[5]    https://forth-standard.org/standard/tools/SYNONYM

You have included a lot of words that I considered not needed for
a tiny Forth.
The first time I will ever need CS-PICK I will add it to the library.
It is not eligible for a kernel word.

Groetjes Albert
-- 
Temu exploits Christians: (Disclaimer, only 10 apostles)
Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall
Art For Home, Office And Garden Decor - Perfect For Windows, Bars,
And Gifts For Friends Family And Colleagues.