Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <2024Sep22.092333@mips.complang.tuwien.ac.at>
Deutsch   English   Français   Italiano  
<2024Sep22.092333@mips.complang.tuwien.ac.at>

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

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: single-xt approach in the standard
Date: Sun, 22 Sep 2024 07:23:33 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 44
Message-ID: <2024Sep22.092333@mips.complang.tuwien.ac.at>
References: <vcbn5e$3etuk$1@dont-email.me> <1542cd3c7ed014b55151772559f4137a@www.novabbs.com>
Injection-Date: Sun, 22 Sep 2024 09:54:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="511b646e4025f96132525e6ac5a52b4b";
	logging-data="2253302"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18UxXC35ryD+6ZepGaMfIqB"
Cancel-Lock: sha1:EuOTA3b+jQAz0SrxZCOaC1AjwGU=
X-newsreader: xrn 10.11

peter.m.falth@gmail.com (PMF) writes:
>In my opinion the Forth standard should not care about implementation
>details like how a header is organized ( single, dual xt or some other
>way).

It does not.  SwiftForth could implement a standard-conforming FILE S"
without changing the header structure.

>Looking back at the standard, in my opinion it was a mistake to
>standardize the nt!  It would have been better to have
>FIND-INTERPRET  instead of FIND-NAME NAME>INTERPRET  and
>FIND-COMPILE  instead of FIND-NAME NAME>COMPILE.

And FIND-INTERPRET-IN and FIND-COMPILE-IN.  What about
TRAVERSE-WORDLIST?  Would you then have TRAVERSE-WORDLIST-INTERPRET
and TRAVERSE-WORDLIST-COMPILE?  If so, how should MWORDS
<http://theforth.net/package/mwords> behave?

>That would have given more freedom to organize the internal header
>structure.

OTOH, the nt turns named words into a first-class concept that has its
own handle, enabling words like TRAVERSE-WORDLIST and allowing
programmers to write words like MWORDS.

Very few system implementors use several headers per word (making the
nt hard to implement), and none of these systems is widely used (have
they been published at all)?

And standardizing the nt has not taken away this freedom.  The nt and
all the words that deal with it are in TOOLS EXT and therefore optional.

So you are not asking for freedom to organize the internal header
structure in a standard system, but you are begrudging the programmers
the freedom to write programs like MWORDS as a standard program
requiring several words from the Programming-Tools Extensions word
set.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
   EuroForth 2024: https://euro.theforth.net