Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You're dead, Jim. -- McCoy, "The Tholian Web", stardate unknown


devel / comp.lang.forth / I don't want $ # % in the kernel

SubjectAuthor
* I don't want $ # % in the kernelnone
+* Re: I don't want $ # % in the kernelminf...@arcor.de
|`- Re: I don't want $ # % in the kernelnone
+* Re: I don't want $ # % in the kernelLorem Ipsum
|`* Re: I don't want $ # % in the kernelnone
| `- Re: I don't want $ # % in the kernelminf...@arcor.de
`* Re: I don't want $ # % in the kerneldxforth
 `- Re: I don't want $ # % in the kernelnone

1
I don't want $ # % in the kernel

<nnd$0cbde413$0a588317@f1b4bbe69eb5be70>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21661&group=comp.lang.forth#21661

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: I don't want $ # % in the kernel
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
Organization: KPN B.V.
Date: Mon, 12 Dec 2022 17:25:23 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!94.232.112.244.MISMATCH!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 34
Injection-Date: Mon, 12 Dec 2022 17:25:23 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: none - Mon, 12 Dec 2022 16:25 UTC

I invented prefixes e.g. $ as a loadable extension in order to
run Marcel Hendrix programs. mhx pioneered the use of prefixes.
I didn't want $ in the kernel, because it wasn't even standard
at the time (2000).

In ciforth all numbers and strings are handled by prefixes:
0 1 .. 9 " '
ONLY is a wordlist (OK it is a name of a wordlist) and
contains this stuff. So I can add $ # % as prefixes in
a regular fashion if I make ONLY the wordlist where
definitions are added.

'ONLY >WID CURRENT !
: $ BASE @ >R HEX (NUMBER) R> BASE ! POSTPONE SDLITERAL ;
PREFIX IMMEDIATE 1]

(NUMBER) handles a number from the input stream.
SDLITERAL compiles/interprets a single/double number.
So far so good.

Can I claim compatibility with the 2012 standard (in this
respect) if I supply $ # % as loadable extensions?

Groetjes Albert

1]
PREFIX is a trivial extension. A prefix is found as
it matches the first part of a word.
--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: I don't want $ # % in the kernel

<ac6c05eb-a1b5-4497-8541-886b9ae1af28n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21662&group=comp.lang.forth#21662

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:43eb:0:b0:4bb:7ad8:deae with SMTP id f11-20020ad443eb000000b004bb7ad8deaemr70303542qvu.92.1670864204949;
Mon, 12 Dec 2022 08:56:44 -0800 (PST)
X-Received: by 2002:ac8:5451:0:b0:3a8:270:a942 with SMTP id
d17-20020ac85451000000b003a80270a942mr731412qtq.185.1670864204753; Mon, 12
Dec 2022 08:56:44 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 12 Dec 2022 08:56:44 -0800 (PST)
In-Reply-To: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f1d:cc11:e43c:d548:748f:83fc;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f1d:cc11:e43c:d548:748f:83fc
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac6c05eb-a1b5-4497-8541-886b9ae1af28n@googlegroups.com>
Subject: Re: I don't want $ # % in the kernel
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Mon, 12 Dec 2022 16:56:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3659
 by: minf...@arcor.de - Mon, 12 Dec 2022 16:56 UTC

none albert schrieb am Montag, 12. Dezember 2022 um 17:25:26 UTC+1:
> I invented prefixes e.g. $ as a loadable extension in order to
> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
> I didn't want $ in the kernel, because it wasn't even standard
> at the time (2000).
>
> In ciforth all numbers and strings are handled by prefixes:
> 0 1 .. 9 " '
> ONLY is a wordlist (OK it is a name of a wordlist) and
> contains this stuff. So I can add $ # % as prefixes in
> a regular fashion if I make ONLY the wordlist where
> definitions are added.
>
> 'ONLY >WID CURRENT !
> : $ BASE @ >R HEX (NUMBER) R> BASE ! POSTPONE SDLITERAL ;
> PREFIX IMMEDIATE 1]
>
> (NUMBER) handles a number from the input stream.
> SDLITERAL compiles/interprets a single/double number.
> So far so good.
>
> Can I claim compatibility with the 2012 standard (in this
> respect) if I supply $ # % as loadable extensions?
>
> Groetjes Albert
>
> 1]
> PREFIX is a trivial extension. A prefix is found as
> it matches the first part of a word.

When the extension is NOT loaded, the text interpreter should
still fulfill § 3.1.4.3 of the standard document IMO. It is a general
requirement (not part of any word set) and stipulates the following
number recognition forms:

⟨anynum⟩ := { ⟨BASEnum⟩ | ⟨decnum⟩ | ⟨hexnum⟩ | ⟨binnum⟩ | ⟨cnum⟩ }
⟨BASEnum⟩ := [-]⟨bdigit⟩⟨bdigit⟩*
⟨decnum⟩ := #[-]⟨decdigit⟩⟨decdigit⟩*
⟨hexnum⟩ := $[-]⟨hexdigit⟩⟨hexdigit⟩*
⟨binnum⟩ := %[-]⟨bindigit⟩⟨bindigit⟩*
⟨cnum⟩ := ’⟨char⟩’
⟨bindigit⟩ := { 0 | 1 }
⟨decdigit⟩ := { 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 }
⟨hexdigit⟩ := { ⟨decdigit⟩ | a | b | c | d | e | f | A | B | C | D | E | F

When the extension IS loaded, your prefix recognition is part of the
dictionary and standard prefixed number recognition does not come into play

Re: I don't want $ # % in the kernel

<nnd$7cbca5ce$6c83da72@7745c8284f0b5802>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21663&group=comp.lang.forth#21663

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70> <ac6c05eb-a1b5-4497-8541-886b9ae1af28n@googlegroups.com>
Subject: Re: I don't want $ # % in the kernel
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$7cbca5ce$6c83da72@7745c8284f0b5802>
Organization: KPN B.V.
Date: Mon, 12 Dec 2022 20:21:12 +0100
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 25
Injection-Date: Mon, 12 Dec 2022 20:21:12 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1652
 by: none - Mon, 12 Dec 2022 19:21 UTC

In article <ac6c05eb-a1b5-4497-8541-886b9ae1af28n@googlegroups.com>,
minf...@arcor.de <minforth@arcor.de> wrote:
<SNIP>
>When the extension is NOT loaded, the text interpreter should
>still fulfill § 3.1.4.3 of the standard document IMO. It is a general
>requirement (not part of any word set) and stipulates the following
>number recognition forms:
<SNIP>
Your conclusion is : as long as I don't load those prefixes for % etc.
the system is not 2012 standard conforming.

>
>When the extension IS loaded, your prefix recognition is part of the
>dictionary and standard prefixed number recognition does not come into play

What do you mean by this?

Groetjes Albert
>
--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: I don't want $ # % in the kernel

<ce0ea924-ecba-43a7-bbc5-06f4f9f52b6an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21664&group=comp.lang.forth#21664

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:bac5:0:b0:6fa:f354:939f with SMTP id k188-20020a37bac5000000b006faf354939fmr83923419qkf.57.1670873415386;
Mon, 12 Dec 2022 11:30:15 -0800 (PST)
X-Received: by 2002:a37:8783:0:b0:6fa:a2ce:ac27 with SMTP id
j125-20020a378783000000b006faa2ceac27mr82400690qkd.185.1670873415165; Mon, 12
Dec 2022 11:30:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 12 Dec 2022 11:30:14 -0800 (PST)
In-Reply-To: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
Injection-Info: google-groups.googlegroups.com; posting-host=2605:ba00:4117:fb49:6c9b:7655:31a8:f27d;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2605:ba00:4117:fb49:6c9b:7655:31a8:f27d
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce0ea924-ecba-43a7-bbc5-06f4f9f52b6an@googlegroups.com>
Subject: Re: I don't want $ # % in the kernel
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Mon, 12 Dec 2022 19:30:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1931
 by: Lorem Ipsum - Mon, 12 Dec 2022 19:30 UTC

On Monday, December 12, 2022 at 12:25:26 PM UTC-4, none albert wrote:
> I invented prefixes e.g. $ as a loadable extension in order to
> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
> I didn't want $ in the kernel, because it wasn't even standard
> at the time (2000).

Not trying to be a pain, but why exactly would it be an issue to implement $ prefix in the kernel? Aren't there many words defined in the kernel that are not part of the standard? Does including some feature that is not standard, make the implementation non-standard? I'm not following.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Re: I don't want $ # % in the kernel

<tn8mtm$gln$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21666&group=comp.lang.forth#21666

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: I don't want $ # % in the kernel
Date: Tue, 13 Dec 2022 13:09:57 +1100
Organization: Aioe.org NNTP Server
Message-ID: <tn8mtm$gln$1@gioia.aioe.org>
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="17079"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Tue, 13 Dec 2022 02:09 UTC

On 13/12/2022 3:25 am, albert wrote:
> I invented prefixes e.g. $ as a loadable extension in order to
> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
> I didn't want $ in the kernel, because it wasn't even standard
> at the time (2000).
>
> In ciforth all numbers and strings are handled by prefixes:
> 0 1 .. 9 " '
> ONLY is a wordlist (OK it is a name of a wordlist) and
> contains this stuff. So I can add $ # % as prefixes in
> a regular fashion if I make ONLY the wordlist where
> definitions are added.
>
> 'ONLY >WID CURRENT !
> : $ BASE @ >R HEX (NUMBER) R> BASE ! POSTPONE SDLITERAL ;
> PREFIX IMMEDIATE 1]
>
> (NUMBER) handles a number from the input stream.
> SDLITERAL compiles/interprets a single/double number.
> So far so good.
>
> Can I claim compatibility with the 2012 standard (in this
> respect) if I supply $ # % as loadable extensions?

As long as one doesn't conflate 'kernel' with 'core' then I don't
see an issue. IMO all that's necessary is to document what steps
a user needs to take to make the system 'standard compliant'.
(TBH ciForth never struck me as a beginner's system and appeals
to the latter will be somewhat lost :)

Re: I don't want $ # % in the kernel

<nnd$51767c43$036c85a9@b5d59ef87da48a8f>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21671&group=comp.lang.forth#21671

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70> <ce0ea924-ecba-43a7-bbc5-06f4f9f52b6an@googlegroups.com>
Subject: Re: I don't want $ # % in the kernel
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$51767c43$036c85a9@b5d59ef87da48a8f>
Organization: KPN B.V.
Date: Tue, 13 Dec 2022 11:05:09 +0100
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 48
Injection-Date: Tue, 13 Dec 2022 11:05:09 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2750
 by: none - Tue, 13 Dec 2022 10:05 UTC

In article <ce0ea924-ecba-43a7-bbc5-06f4f9f52b6an@googlegroups.com>,
Lorem Ipsum <gnuarm.deletethisbit@gmail.com> wrote:
>On Monday, December 12, 2022 at 12:25:26 PM UTC-4, none albert wrote:
>> I invented prefixes e.g. $ as a loadable extension in order to
>> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
>> I didn't want $ in the kernel, because it wasn't even standard
>> at the time (2000).
>
>Not trying to be a pain, but why exactly would it be an issue to
>implement $ prefix in the kernel? Aren't there many words defined in
>the kernel that are not part of the standard? Does including some
>feature that is not standard, make the implementation non-standard? I'm
>not following.

The computer intelligence Forth (original meaning) was intended to
be modular, and introspective, running stand alone on computer.
Each word has a source field pointing at its source, modifying the
source (followed by compilation) should change the word on the fly.
Each word possess a exclusive part of the memory.
That would mean that the startup part of Forth should be minimal,
say initializing registers and setting up virtual memory.
In this vein number handling should be modular and in fact it is.
You can get rid of %1000 numbers to toggle the INVISIBLE bit
in the word %.

Why not implement $ in the kernel?
It has no use in the kernel, and I hate it. So I want to ban
it to a loadable extension.

Many non-standard words in the kernel?
I don't allow words on the kernel that are no use.
It follows that any non-standard words in my kernel are
eminently useful. $ is not one of them.

Does including some feature that is not standard, make the
implementation non-standard?
Of course not. However I don't intend to use that as an excuse
to add the proverbial kitchen sink to a kernel.

>Rick C.

Groetjes Albert
--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: I don't want $ # % in the kernel

<nnd$6b0c78a0$1a39c2d9@285da88237668dec>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21672&group=comp.lang.forth#21672

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70> <tn8mtm$gln$1@gioia.aioe.org>
Subject: Re: I don't want $ # % in the kernel
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$6b0c78a0$1a39c2d9@285da88237668dec>
Organization: KPN B.V.
Date: Tue, 13 Dec 2022 11:38:32 +0100
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder.usenetexpress.com!tr2.eu1.usenetexpress.com!94.232.112.246.MISMATCH!feed.abavia.com!abe006.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 59
Injection-Date: Tue, 13 Dec 2022 11:38:32 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: none - Tue, 13 Dec 2022 10:38 UTC

In article <tn8mtm$gln$1@gioia.aioe.org>, dxforth <dxforth@gmail.com> wrote:
>On 13/12/2022 3:25 am, albert wrote:
>> I invented prefixes e.g. $ as a loadable extension in order to
>> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
>> I didn't want $ in the kernel, because it wasn't even standard
>> at the time (2000).
>>
>> In ciforth all numbers and strings are handled by prefixes:
>> 0 1 .. 9 " '
>> ONLY is a wordlist (OK it is a name of a wordlist) and
>> contains this stuff. So I can add $ # % as prefixes in
>> a regular fashion if I make ONLY the wordlist where
>> definitions are added.
>>
>> 'ONLY >WID CURRENT !
>> : $ BASE @ >R HEX (NUMBER) R> BASE ! POSTPONE SDLITERAL ;
>> PREFIX IMMEDIATE 1]
>>
>> (NUMBER) handles a number from the input stream.
>> SDLITERAL compiles/interprets a single/double number.
>> So far so good.
>>
>> Can I claim compatibility with the 2012 standard (in this
>> respect) if I supply $ # % as loadable extensions?
>
>As long as one doesn't conflate 'kernel' with 'core' then I don't
>see an issue. IMO all that's necessary is to document what steps
>a user needs to take to make the system 'standard compliant'.

That is a good idea.

ciforth comes with options. -a attaches the library
-e (elective) load tools -v show version information required by gnu

Starting up as (pedantic)
lina -p
Properly implemented that could satisfy all language lawyers.

>(TBH ciForth never struck me as a beginner's system and appeals
>to the latter will be somewhat lost :)
Experience Forthers are not interested in standard compliance?

I do my best to make it usable for beginners.
E.g. my glossary is subdivided in wordsets, each preceded by a
description what belongs to the wordset.
The documentation has an index into that glossary, there is a separate
index for concepts. The pdf has a collapsible expandable left side.
etc.
But the Forth is small, good for an overview, bad for running
programs that use some of the rarer words in the standards.

>
Groetjes Albert
--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: I don't want $ # % in the kernel

<3d609d66-659c-4db7-b078-e0fc691a296bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=21673&group=comp.lang.forth#21673

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:bac5:0:b0:6fa:f354:939f with SMTP id k188-20020a37bac5000000b006faf354939fmr84019477qkf.57.1670929999980;
Tue, 13 Dec 2022 03:13:19 -0800 (PST)
X-Received: by 2002:a37:512:0:b0:6fe:d1a0:ba88 with SMTP id
18-20020a370512000000b006fed1a0ba88mr11437313qkf.233.1670929999825; Tue, 13
Dec 2022 03:13:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 13 Dec 2022 03:13:19 -0800 (PST)
In-Reply-To: <nnd$51767c43$036c85a9@b5d59ef87da48a8f>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f1d:cc52:e86e:e376:22ba:5466;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f1d:cc52:e86e:e376:22ba:5466
References: <nnd$0cbde413$0a588317@f1b4bbe69eb5be70> <ce0ea924-ecba-43a7-bbc5-06f4f9f52b6an@googlegroups.com>
<nnd$51767c43$036c85a9@b5d59ef87da48a8f>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3d609d66-659c-4db7-b078-e0fc691a296bn@googlegroups.com>
Subject: Re: I don't want $ # % in the kernel
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Tue, 13 Dec 2022 11:13:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4112
 by: minf...@arcor.de - Tue, 13 Dec 2022 11:13 UTC

none albert schrieb am Dienstag, 13. Dezember 2022 um 11:05:14 UTC+1:
> In article <ce0ea924-ecba-43a7...@googlegroups.com>,
> Lorem Ipsum <gnuarm.del...@gmail.com> wrote:
> >On Monday, December 12, 2022 at 12:25:26 PM UTC-4, none albert wrote:
> >> I invented prefixes e.g. $ as a loadable extension in order to
> >> run Marcel Hendrix programs. mhx pioneered the use of prefixes.
> >> I didn't want $ in the kernel, because it wasn't even standard
> >> at the time (2000).
> >
> >Not trying to be a pain, but why exactly would it be an issue to
> >implement $ prefix in the kernel? Aren't there many words defined in
> >the kernel that are not part of the standard? Does including some
> >feature that is not standard, make the implementation non-standard? I'm
> >not following.
> The computer intelligence Forth (original meaning) was intended to
> be modular, and introspective, running stand alone on computer.
> Each word has a source field pointing at its source, modifying the
> source (followed by compilation) should change the word on the fly.
> Each word possess a exclusive part of the memory.
> That would mean that the startup part of Forth should be minimal,
> say initializing registers and setting up virtual memory.
> In this vein number handling should be modular and in fact it is.
> You can get rid of %1000 numbers to toggle the INVISIBLE bit
> in the word %.
>
> Why not implement $ in the kernel?
> It has no use in the kernel, and I hate it. So I want to ban
> it to a loadable extension.
>
> Many non-standard words in the kernel?
> I don't allow words on the kernel that are no use.
> It follows that any non-standard words in my kernel are
> eminently useful. $ is not one of them.
> Does including some feature that is not standard, make the
> implementation non-standard?
> Of course not. However I don't intend to use that as an excuse
> to add the proverbial kitchen sink to a kernel.

YMMV but I would declare even more words ripe for the kitchen sink
like STATE POSTPONE BASE LOCALS| SUBSTITUTE. There are better
alternatives. Nevertheless there is the issue of being able to run
standard Forth code. So those words still merit their place.

The same logic applies to the text interpreter and its expected
number conversion stipulated in section 3 of the Standard.
Section 5.1.1 stipulates "A system that complies with ALL the system
requirements given in sections 3 Usage requirements and 4.1
System documentation and their sub-sections is a Standard System."

But who gives a ... about Forth language lawyerism. Unless there are
stringent customer requirements I wouldn't care. Otherwise demonstrate
to him/her that your system does pass the Forth-2012 test suite
before unnecessarily modifying a well-developed and proven kernel.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor