Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

May Euell Gibbons eat your only copy of the manual!


devel / comp.lang.forth / Re: MinForth behavior

SubjectAuthor
* MinForth behaviorAntoni Gual Via
+- Re: MinForth behaviorminforth
+* Re: MinForth behaviordxf
|+- Re: MinForth behaviorAntoni Gual Via
|`- Re: MinForth behaviornone
`* Re: MinForth behaviorAnton Ertl
 +- Re: MinForth behaviorminforth
 +* Re: MinForth behaviorminforth
 |+- Re: MinForth behaviorAnton Ertl
 |`* Re: MinForth behaviorAnton Ertl
 | `* Re: MinForth behaviorminforth
 |  `* Re: MinForth behaviorAnton Ertl
 |   `* Re: MinForth behaviornone
 |    `* Re: MinForth behaviorminforth
 |     +- Re: MinForth behaviordxf
 |     `- Re: MinForth behaviordxf
 `* Re: MinForth behaviornone
  +- Re: MinForth behaviorAnton Ertl
  `* Re: MinForth behaviordxf
   `* Re: MinForth behaviorAnton Ertl
    +* Re: MinForth behaviormhx
    |`- Re: MinForth behaviorAnton Ertl
    +* Re: MinForth behaviordxf
    |+* Re: MinForth behaviorminforth
    ||`* Re: MinForth behaviordxf
    || `* Re: MinForth behaviornone
    ||  `- Re: MinForth behaviordxf
    |`* Re: MinForth behaviorAnton Ertl
    | `- Re: MinForth behaviordxf
    `- Re: MinForth behaviornone

Pages:12
Re: MinForth behavior

<uk4jo6$8a0u$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25473&group=comp.lang.forth#25473

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!news.chmurka.net!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: MinForth behavior
Date: Tue, 28 Nov 2023 22:43:01 +1100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <uk4jo6$8a0u$1@dont-email.me>
References: <d7b79ded-62fc-40ba-a639-b985c1824bc0n@googlegroups.com>
<2023Nov27.132848@mips.complang.tuwien.ac.at>
<nnd$75a589b3$6298d993@e93505945740bbe4> <uk2dn0$3q9aj$1@dont-email.me>
<2023Nov27.181604@mips.complang.tuwien.ac.at> <uk3dee$3vnr1$1@dont-email.me>
<2023Nov28.095109@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Nov 2023 11:43:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5920abf28cae3ce685a0eca4806b3f32";
logging-data="272414"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EUxUenHv5/aGXByTcCW4j"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IlToUsOyhoZnZOldzRnKP0LQ/mA=
Content-Language: en-GB
In-Reply-To: <2023Nov28.095109@mips.complang.tuwien.ac.at>
 by: dxf - Tue, 28 Nov 2023 11:43 UTC

On 28/11/2023 7:51 pm, Anton Ertl wrote:
> dxf <dxforth@gmail.com> writes:
>> On 28/11/2023 4:16 am, Anton Ertl wrote:
>>> So iForth and SwiftForth still use WORD in the text interpreter.
>>
>> And arguably closer to ANS in which WORD and FIND are Core.
>
> What argument is that supposed to be? Forth-94 (ANS Forth) does not
> allow text interpreters to clobber the WORD buffer. And it does not
> prescribe that the text interpreter must use WORD and FIND, or that
> the Forth system calls any other Core word.

ANS prescribes minimums.

Re: MinForth behavior

<uk52qo$b5g7$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25478&group=comp.lang.forth#25478

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: MinForth behavior
Date: Wed, 29 Nov 2023 03:00:24 +1100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uk52qo$b5g7$1@dont-email.me>
References: <d7b79ded-62fc-40ba-a639-b985c1824bc0n@googlegroups.com>
<uk3dee$3vnr1$1@dont-email.me>
<21438c46f52c7960cd78625eaccdfb02@news.novabbs.com>
<uk47mh$6lai$1@dont-email.me> <nnd$5cfcc9ca$79c33d51@82e131a049349fcc>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Nov 2023 16:00:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5920abf28cae3ce685a0eca4806b3f32";
logging-data="366087"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yoiKrtMd2soH+72+5dRQH"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/iZe3UUAln51ccztBmbCvYEhYgA=
In-Reply-To: <nnd$5cfcc9ca$79c33d51@82e131a049349fcc>
Content-Language: en-GB
 by: dxf - Tue, 28 Nov 2023 16:00 UTC

On 28/11/2023 10:24 pm, albert wrote:
> In article <uk47mh$6lai$1@dont-email.me>, dxf <dxforth@gmail.com> wrote:
>> On 28/11/2023 6:24 pm, minforth wrote:
>>> The one and only core word required for parsing is >IN.
>>
>> 20 years of 200x and still WORD is in Core. Must be important.
>
> In Ireland there is a law that requires you to warn the public,
> if you you throw poo off the second floor.
> Must be important.

Poo has been thrown at WORD and FIND ever since ANS and still there are
folks who don't see what the fuss is about.

Re: MinForth behavior

<569b4f8037917d09248c01ce51f53c27@news.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25479&group=comp.lang.forth#25479

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: MinForth behavior
Date: Tue, 28 Nov 2023 17:14:58 +0000
Organization: novaBBS
Message-ID: <569b4f8037917d09248c01ce51f53c27@news.novabbs.com>
References: <d7b79ded-62fc-40ba-a639-b985c1824bc0n@googlegroups.com> <2023Nov27.184544@mips.complang.tuwien.ac.at> <5cf09b56724e5690aabba5025a2dd5a3@news.novabbs.com> <2023Nov28.095531@mips.complang.tuwien.ac.at> <nnd$5e8034e5$76764bb7@4ef99544d33409c1>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2403365"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Rslight-Posting-User: 0d6d33dbe0e2e1ff58b82acfc1a8a32ac3b1cb72
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novalink.us
X-Rslight-Site: $2y$10$druklgZyGcH6L/VD2Coxl.ll1hoBsnSGZPY4buiIGPOrN.S70lp7C
 by: minforth - Tue, 28 Nov 2023 17:14 UTC

Albert wrote:
> Reparsing of the input stream is only
> needed in rare cases, e.g. for a word that prints its own name. I
> think it is best to be avoided if possible, for it makes for tricky code.

"Rare cases" depends on your applications, of course. It was a bit tricky
to implement, but in the end re-parsing was very helpful and natural
for working with truncated or improperly formatted incoming data streams.

From a Forth perspective, the most obvious "shortcoming" is that Forth
only talks about parsing input sources, but there are no standard words
for parsing string data, such as sscanf in C.

Re: MinForth behavior

<uk74eh$phu9$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25481&group=comp.lang.forth#25481

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: MinForth behavior
Date: Wed, 29 Nov 2023 21:40:17 +1100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uk74eh$phu9$1@dont-email.me>
References: <d7b79ded-62fc-40ba-a639-b985c1824bc0n@googlegroups.com>
<2023Nov27.184544@mips.complang.tuwien.ac.at>
<5cf09b56724e5690aabba5025a2dd5a3@news.novabbs.com>
<2023Nov28.095531@mips.complang.tuwien.ac.at>
<nnd$5e8034e5$76764bb7@4ef99544d33409c1>
<569b4f8037917d09248c01ce51f53c27@news.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Nov 2023 10:40:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="86d7a2e7fb041e55660b96807021ce73";
logging-data="837577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mJCVTnZuy8EQQmTMUs8K4"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:sh8OpkoK2YDgdIx+YjNCAY5k0eg=
In-Reply-To: <569b4f8037917d09248c01ce51f53c27@news.novabbs.com>
Content-Language: en-GB
 by: dxf - Wed, 29 Nov 2023 10:40 UTC

On 29/11/2023 4:14 am, minforth wrote:
> ...
> From a Forth perspective, the most obvious "shortcoming" is that Forth
> only talks about parsing input sources, but there are no standard words
> for parsing string data, such as sscanf in C.

I have these in the kernel

/NUMBER ( c-addr u -- c-addr2 u2 d|ud )
/FLOAT ( c-addr u -- c-addr2 u2 r )

Re: MinForth behavior

<uk74fp$pjom$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=25482&group=comp.lang.forth#25482

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxf)
Newsgroups: comp.lang.forth
Subject: Re: MinForth behavior
Date: Wed, 29 Nov 2023 21:40:57 +1100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <uk74fp$pjom$1@dont-email.me>
References: <d7b79ded-62fc-40ba-a639-b985c1824bc0n@googlegroups.com>
<2023Nov27.184544@mips.complang.tuwien.ac.at>
<5cf09b56724e5690aabba5025a2dd5a3@news.novabbs.com>
<2023Nov28.095531@mips.complang.tuwien.ac.at>
<nnd$5e8034e5$76764bb7@4ef99544d33409c1>
<569b4f8037917d09248c01ce51f53c27@news.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Nov 2023 10:40:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="86d7a2e7fb041e55660b96807021ce73";
logging-data="839446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gjtKQKDAPq4NVVgHoZecg"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Kw8FLuNzXIXrBXhX8FYOoQJT/78=
Content-Language: en-GB
In-Reply-To: <569b4f8037917d09248c01ce51f53c27@news.novabbs.com>
 by: dxf - Wed, 29 Nov 2023 10:40 UTC

On 29/11/2023 4:14 am, minforth wrote:
> ...
> From a Forth perspective, the most obvious "shortcoming" is that Forth
> only talks about parsing input sources, but there are no standard words
> for parsing string data, such as sscanf in C.

I have these in the kernel

/NUMBER ( c-addr u -- c-addr2 u2 d|ud )
/FLOAT ( c-addr u -- c-addr2 u2 r )

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor