Liste des Groupes | Revenir à cl forth |
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].
>
-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
Les messages affichés proviennent d'usenet.