Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

There are two ways to write error-free programs; only the third one works.


devel / comp.lang.forth / Re: gforth warning: hex. is obsolete

SubjectAuthor
* gforth warning: hex. is obsoleteBuzz McCool
+* Re: gforth warning: hex. is obsoletedxf
|`* Re: gforth warning: hex. is obsoletealbert
| +- Re: gforth warning: hex. is obsoletedxf
| `- Re: gforth warning: hex. is obsoleteAnton Ertl
`* Re: gforth warning: hex. is obsoleteAnton Ertl
 +* Re: gforth warning: hex. is obsoleteAnton Ertl
 |`* Re: gforth warning: hex. is obsoleteminforth
 | `- Re: gforth warning: hex. is obsoleteAnton Ertl
 +* Re: gforth warning: hex. is obsoletePMF
 |+- Re: gforth warning: hex. is obsoletemhx
 |`- Re: gforth warning: hex. is obsoletealbert
 +* Re: gforth warning: hex. is obsoleteBuzz McCool
 |`* Re: gforth warning: hex. is obsoleteAnton Ertl
 | `* Re: gforth warning: hex. is obsoletealbert
 |  `* Re: gforth warning: hex. is obsoleteminforth
 |   `* Re: gforth warning: hex. is obsoletedxf
 |    +- Re: gforth warning: hex. is obsoleteAnton Ertl
 |    `- Re: gforth warning: hex. is obsoleteminforth
 `* Re: gforth warning: hex. is obsoletePaul Rubin
  +- Re: gforth warning: hex. is obsoletedxf
  +- Re: gforth warning: hex. is obsoletealbert
  +- Re: gforth warning: hex. is obsoleteAnton Ertl
  `* Re: gforth warning: hex. is obsoleteBuzz McCool
   +* Re: gforth warning: hex. is obsoletealbert
   |+* Re: gforth warning: hex. is obsoleteminforth
   ||`* Re: gforth warning: hex. is obsoletemhx
   || `- Re: gforth warning: hex. is obsoleteminforth
   |+* Re: gforth warning: hex. is obsoletedxf
   ||`* Re: gforth warning: hex. is obsoletemhx
   || `- Re: gforth warning: hex. is obsoletedxf
   |`- Re: gforth warning: hex. is obsoleteBuzz McCool
   `* Re: gforth warning: hex. is obsoleteAnton Ertl
    `- Re: gforth warning: hex. is obsoleteBuzz McCool

Pages:12
Re: gforth warning: hex. is obsolete

<d15ec28815c74b138bf4360620ec2dbc@www.novabbs.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Tue, 26 Mar 2024 20:13:08 +0000
Subject: Re: gforth warning: hex. is obsolete
From: minfo...@gmx.net (minforth)
Newsgroups: comp.lang.forth
X-Rslight-Site: $2y$10$3GWDH2A/NEeI2CaqmEdPOORRWj/ASHZW.sjWkBBs/LVAloUm8W5/y
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <uti7g8$2eegr$1@dont-email.me> <2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com> <utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8>
Organization: novaBBS
Message-ID: <d15ec28815c74b138bf4360620ec2dbc@www.novabbs.com>
 by: minforth - Tue, 26 Mar 2024 20:13 UTC

albert@spenarnc.xs4all.nl wrote:

> If you design a Forth-like language from scratch that is consistent and
> orthogonal, there is a whole bunch more that you have to do.

For instance, start with a grammar, and with dynamic strings as fundamental
data type ... ;-)

Re: gforth warning: hex. is obsolete

<10ce74d23ad918144f0f9f8648a2ed90@www.novabbs.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Tue, 26 Mar 2024 21:04:22 +0000
Subject: Re: gforth warning: hex. is obsolete
From: mhx...@iae.nl (mhx)
Newsgroups: comp.lang.forth
X-Rslight-Site: $2y$10$iHVO7TJ5cF04dlORXeC.Mugvp6.V.xf6s2NxGRqeJ5MiHQrI44ohi
X-Rslight-Posting-User: 59549e76d0c3560fb37b97f0b9407a8c14054f24
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <uti7g8$2eegr$1@dont-email.me> <2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com> <utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8> <d15ec28815c74b138bf4360620ec2dbc@www.novabbs.com>
Organization: novaBBS
Message-ID: <10ce74d23ad918144f0f9f8648a2ed90@www.novabbs.com>
 by: mhx - Tue, 26 Mar 2024 21:04 UTC

minforth wrote:

> albert@spenarnc.xs4all.nl wrote:

>> If you design a Forth-like language from scratch that is consistent and
>> orthogonal, there is a whole bunch more that you have to do.

> For instance, start with a grammar, and with dynamic strings as fundamental
> data type ... ;-)

How to define a grammar for a language that allows to change every word in both
name and behavior, depending on various contexts?

Defining a set of useful libraries, now *that* seems possible.

-marcel

Re: gforth warning: hex. is obsolete

<66035f57$1@news.ausics.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Wed, 27 Mar 2024 10:50:49 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: gforth warning: hex. is obsolete
Newsgroups: comp.lang.forth
References: <uti7g8$2eegr$1@dont-email.me>
<2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com>
<utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8>
Content-Language: en-GB
From: dxfo...@gmail.com (dxf)
In-Reply-To: <nnd$1912abe7$0e04b17e@188caa05314af2d8>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <66035f57$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 19
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Tue, 26 Mar 2024 23:50 UTC

On 27/03/2024 3:38 am, albert@spenarnc.xs4all.nl wrote:
> In article <utumib$1s4nd$1@dont-email.me>,
> Buzz McCool <buzz_mccool@yahoo.com> wrote:
>> On 3/23/2024 12:49 AM, Paul Rubin wrote:
>>> ... IMHO it would be better for HEX. and H. to both
>>> work, without HEX. generating unnecessary warning messages.
>>
>> Given there is a DEC. word, having a HEX. word (that doesn't throw
>> errors) does seem more intuitive / orthogonal than just the H. found in
>> other Forth systems.
>
> Tradition trumps intuition.
>
> If you design a Forth-like language from scratch that is consistent and
> orthogonal, there is a whole bunch more that you have to do.

Intuition is memory - nothing more.

Re: gforth warning: hex. is obsolete

<518538d415e7240f7fe3624b4be89075@www.novabbs.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Wed, 27 Mar 2024 17:21:45 +0000
Subject: Re: gforth warning: hex. is obsolete
From: mhx...@iae.nl (mhx)
Newsgroups: comp.lang.forth
X-Rslight-Site: $2y$10$Y6/9hgTaqux/hqEjnjhtXe4qVeikA.jXb.Dl82ggxjrkqUipHTK9C
X-Rslight-Posting-User: 59549e76d0c3560fb37b97f0b9407a8c14054f24
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <uti7g8$2eegr$1@dont-email.me> <2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com> <utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8> <66035f57$1@news.ausics.net>
Organization: novaBBS
Message-ID: <518538d415e7240f7fe3624b4be89075@www.novabbs.com>
 by: mhx - Wed, 27 Mar 2024 17:21 UTC

dxf wrote:
[..]
> Intuition is memory - nothing more.

It includes reptile memory.

-marcel

Re: gforth warning: hex. is obsolete

<uu1o4n$30dbj$1@dont-email.me>

  copy mid

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

  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: buzz_mcc...@yahoo.com (Buzz McCool)
Newsgroups: comp.lang.forth
Subject: Re: gforth warning: hex. is obsolete
Date: Wed, 27 Mar 2024 11:22:13 -0700
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uu1o4n$30dbj$1@dont-email.me>
References: <uti7g8$2eegr$1@dont-email.me>
<2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com>
<utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 18:22:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="bdd83b4e1d2ba70ac5b69fb391495d00";
logging-data="3159411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198J0S9QCW4oOD3PZj+DwukCYiZoVTgXC4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:uTsbnTBmuUH0pNE32nexwY5+7jU=
In-Reply-To: <nnd$1912abe7$0e04b17e@188caa05314af2d8>
Content-Language: en-US
 by: Buzz McCool - Wed, 27 Mar 2024 18:22 UTC

On 3/26/2024 9:38 AM, albert@spenarnc.xs4all.nl wrote:
> ... If you design a Forth-like language from scratch that is consistent and
> orthogonal, there is a whole bunch more that you have to do.

Understood.

I'm also perturbed that even fairly recent gforth releases don't support
the h. word at all (see below). So I have to upgrade all my systems to
the most recent gforth (WSL seems to have heartburn with some of them so
I'll have to work that out), or use hex. and get warning messages on
some of them.

$ gforth
Gforth 0.7.9_20220428

255 ok 1
hex. $FF ok

255 ok 1
h.
*the terminal*:9:1: error: Undefined word
>>>h.<<<
Backtrace:
kernel/int.fs:321:10: 0 $7F96CEE5C430 throw

Re: gforth warning: hex. is obsolete

<3199993aae9379f32bebced178c939df@www.novabbs.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Wed, 27 Mar 2024 18:42:38 +0000
Subject: Re: gforth warning: hex. is obsolete
From: minfo...@gmx.net (minforth)
Newsgroups: comp.lang.forth
X-Rslight-Site: $2y$10$iHdywhQufjQqLUe4pQX5c.NHYieR6H831W4zZHS9DKpIOojxb7jTe
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <uti7g8$2eegr$1@dont-email.me> <2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com> <utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8> <d15ec28815c74b138bf4360620ec2dbc@www.novabbs.com> <10ce74d23ad918144f0f9f8648a2ed90@www.novabbs.com>
Organization: novaBBS
Message-ID: <3199993aae9379f32bebced178c939df@www.novabbs.com>
 by: minforth - Wed, 27 Mar 2024 18:42 UTC

mhx wrote:

> minforth wrote:

>> albert@spenarnc.xs4all.nl wrote:

>>> If you design a Forth-like language from scratch that is consistent and
>>> orthogonal, there is a whole bunch more that you have to do.

>> For instance, start with a grammar, and with dynamic strings as fundamental
>> data type ... ;-)

> How to define a grammar for a language that allows to change every word in both
> name and behavior, depending on various contexts?

The first thing to prevent is that standard words can be changed. If you want a variant,
give the variant a different name. E.G.
DUP = fixed standard in capital letters
dup, Dup, mydup, MYDUP etc = variants

And don't call the Forth-like language FORTH to scare away language lawyers ;-)

Re: gforth warning: hex. is obsolete

<2024Mar27.194309@mips.complang.tuwien.ac.at>

  copy mid

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

  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: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: gforth warning: hex. is obsolete
Date: Wed, 27 Mar 2024 18:43:09 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 15
Message-ID: <2024Mar27.194309@mips.complang.tuwien.ac.at>
References: <uti7g8$2eegr$1@dont-email.me> <2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com> <utumib$1s4nd$1@dont-email.me>
Injection-Date: Wed, 27 Mar 2024 18:45:53 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dd96cb78367ba2d846b5f6040a81f592";
logging-data="3160632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kqe23faGRWsStY2NzBbFU"
Cancel-Lock: sha1:s1QFCqLIEPY7P31c2JSar4hsRew=
X-newsreader: xrn 10.11
 by: Anton Ertl - Wed, 27 Mar 2024 18:43 UTC

Buzz McCool <buzz_mccool@yahoo.com> writes:
>Given there is a DEC. word, having a HEX. word (that doesn't throw
>errors) does seem more intuitive / orthogonal than just the H. found in
>other Forth systems.

That's a good argument, and the other is that while H. is more in line
with other Forth systems, HEX. is better if you are using several
Gforth systems with different ages. So I have unobsoleted HEX.

- 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 2023: https://euro.theforth.net/2023

Re: gforth warning: hex. is obsolete

<6604a827$1@news.ausics.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Date: Thu, 28 Mar 2024 10:13:44 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: gforth warning: hex. is obsolete
Newsgroups: comp.lang.forth
References: <uti7g8$2eegr$1@dont-email.me>
<2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com>
<utumib$1s4nd$1@dont-email.me> <nnd$1912abe7$0e04b17e@188caa05314af2d8>
<66035f57$1@news.ausics.net>
<518538d415e7240f7fe3624b4be89075@www.novabbs.com>
Content-Language: en-GB
From: dxfo...@gmail.com (dxf)
In-Reply-To: <518538d415e7240f7fe3624b4be89075@www.novabbs.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <6604a827$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 11
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Wed, 27 Mar 2024 23:13 UTC

On 28/03/2024 4:21 am, mhx wrote:
> dxf wrote:
> [..]
>> Intuition is memory - nothing more.
>
> It includes reptile memory.
>
> -marcel

That accounts for the printf proposals we keep seeing.

Re: gforth warning: hex. is obsolete

<uu4pds$3r41o$1@dont-email.me>

  copy mid

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

  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: buzz_mcc...@yahoo.com (Buzz McCool)
Newsgroups: comp.lang.forth
Subject: Re: gforth warning: hex. is obsolete
Date: Thu, 28 Mar 2024 15:02:35 -0700
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <uu4pds$3r41o$1@dont-email.me>
References: <uti7g8$2eegr$1@dont-email.me>
<2024Mar22.073342@mips.complang.tuwien.ac.at> <87frwh75hk.fsf@nightsong.com>
<utumib$1s4nd$1@dont-email.me> <2024Mar27.194309@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 28 Mar 2024 22:02:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="13643e513ed1cbce102145eb52a24c6c";
logging-data="4034616"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uNhudFT4h/zt4bevwn84D4pcnuXpjM9o="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fLTwqrRprJtruVIQQgMQfAQVqbI=
In-Reply-To: <2024Mar27.194309@mips.complang.tuwien.ac.at>
Content-Language: en-US
 by: Buzz McCool - Thu, 28 Mar 2024 22:02 UTC

On 3/27/2024 11:43 AM, Anton Ertl wrote:
> ... So I have unobsoleted HEX.

Once again Anton, I thank you for your attention and consideration.


devel / comp.lang.forth / Re: gforth warning: hex. is obsolete

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor