Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

E Pluribus Unix


devel / comp.lang.forth / Re: SEND+MORE=MONEY

SubjectAuthor
* SEND+MORE=MONEYminf...@arcor.de
+* Re: SEND+MORE=MONEYJali Heinonen
|`* Re: SEND+MORE=MONEYJali Heinonen
| `* Re: SEND+MORE=MONEYminf...@arcor.de
|  `- Re: SEND+MORE=MONEYGerry Jackson
+- Re: SEND+MORE=MONEYMarcel Hendrix
+* Re: SEND+MORE=MONEYMarcel Hendrix
|`* Re: SEND+MORE=MONEYminf...@arcor.de
| +* Re: SEND+MORE=MONEYMarcel Hendrix
| |`- Re: SEND+MORE=MONEYminf...@arcor.de
| `* Re: SEND+MORE=MONEYAnton Ertl
|  `* Re: SEND+MORE=MONEYminf...@arcor.de
|   `- Re: SEND+MORE=MONEYminf...@arcor.de
+* Re: SEND+MORE=MONEYAnton Ertl
|+- Re: SEND+MORE=MONEYAnton Ertl
|`* Re: SEND+MORE=MONEYMarcel Hendrix
| `- Re: SEND+MORE=MONEYAnton Ertl
+* Re: SEND+MORE=MONEYPaul Rubin
|`* Re: SEND+MORE=MONEYAnton Ertl
| +* Re: SEND+MORE=MONEYJali Heinonen
| |+- Re: SEND+MORE=MONEYAnton Ertl
| |`- Re: SEND+MORE=MONEYPaul Rubin
| +* Re: SEND+MORE=MONEYminf...@arcor.de
| |`* Re: SEND+MORE=MONEYAnton Ertl
| | +- locals slowness in sf and vfx (was: SEND+MORE=MONEY)Anton Ertl
| | `* Re: SEND+MORE=MONEYnone
| |  +* Re: SEND+MORE=MONEYminf...@arcor.de
| |  |`* Re: SEND+MORE=MONEYAla'a
| |  | `* Re: SEND+MORE=MONEYMarcel Hendrix
| |  |  `* Re: SEND+MORE=MONEYAla'a
| |  |   `* Re: SEND+MORE=MONEYMarcel Hendrix
| |  |    +* Re: SEND+MORE=MONEYAla'a
| |  |    |`* Re: SEND+MORE=MONEYMarcel Hendrix
| |  |    | `* Re: SEND+MORE=MONEYMarcel Hendrix
| |  |    |  `* Re: SEND+MORE=MONEYAla'a
| |  |    |   `- Re: SEND+MORE=MONEYminf...@arcor.de
| |  |    `- Re: SEND+MORE=MONEYdxforth
| |  `- Re: SEND+MORE=MONEYAnton Ertl
| `* Re: SEND+MORE=MONEYPaul Rubin
|  `* Re: SEND+MORE=MONEYPaul Rubin
|   +* Re: SEND+MORE=MONEYminf...@arcor.de
|   |`- Re: SEND+MORE=MONEYPaul Rubin
|   +- Re: SEND+MORE=MONEYPaul Rubin
|   `* Re: SEND+MORE=MONEYAnton Ertl
|    +- Re: SEND+MORE=MONEYPaul Rubin
|    `* Re: SEND+MORE=MONEYPaul Rubin
|     `* Re: SEND+MORE=MONEYminf...@arcor.de
|      `* Re: SEND+MORE=MONEYGerry Jackson
|       +* Re: SEND+MORE=MONEYPaul Rubin
|       |+- Re: SEND+MORE=MONEYdxforth
|       |`- Re: SEND+MORE=MONEYminf...@arcor.de
|       `* Re: SEND+MORE=MONEYMarcel Hendrix
|        `* Re: SEND+MORE=MONEYminf...@arcor.de
|         +* Re: SEND+MORE=MONEYMarcel Hendrix
|         |`* Re: SEND+MORE=MONEYdxforth
|         | `- Re: SEND+MORE=MONEYMarcel Hendrix
|         `* Re: SEND+MORE=MONEYminf...@arcor.de
|          +* Re: SEND+MORE=MONEYMarcel Hendrix
|          |`* Re: SEND+MORE=MONEYHans Bezemer
|          | +* Re: SEND+MORE=MONEYminf...@arcor.de
|          | |`- Re: SEND+MORE=MONEYHans Bezemer
|          | +* Re: SEND+MORE=MONEYMarcel Hendrix
|          | |`- Re: SEND+MORE=MONEYdxforth
|          | `* Re: SEND+MORE=MONEYMarcel Hendrix
|          |  `* Re: SEND+MORE=MONEYHans Bezemer
|          |   `* Re: SEND+MORE=MONEYMarcel Hendrix
|          |    `* Re: SEND+MORE=MONEYHans Bezemer
|          |     `- Re: SEND+MORE=MONEYBrian Fox
|          `* Re: SEND+MORE=MONEYdxforth
|           +* Re: SEND+MORE=MONEYminf...@arcor.de
|           |`* Re: SEND+MORE=MONEYMarcel Hendrix
|           | +* Re: SEND+MORE=MONEYminf...@arcor.de
|           | |+- Re: SEND+MORE=MONEYMarcel Hendrix
|           | |`* Re: SEND+MORE=MONEYAnton Ertl
|           | | +* Re: SEND+MORE=MONEYminf...@arcor.de
|           | | |`- Re: SEND+MORE=MONEYHans Bezemer
|           | | `* Re: SEND+MORE=MONEYminf...@arcor.de
|           | |  `* Re: SEND+MORE=MONEYAnton Ertl
|           | |   `- Re: SEND+MORE=MONEYminf...@arcor.de
|           | +- Re: SEND+MORE=MONEYMarcel Hendrix
|           | `* Re: SEND+MORE=MONEYHans Bezemer
|           |  `* Re: SEND+MORE=MONEYMarcel Hendrix
|           |   +* Re: SEND+MORE=MONEYHans Bezemer
|           |   |`* Re: SEND+MORE=MONEYMarcel Hendrix
|           |   | `* Re: SEND+MORE=MONEYAnton Ertl
|           |   |  `- Re: SEND+MORE=MONEYMarcel Hendrix
|           |   `* Re: SEND+MORE=MONEYminf...@arcor.de
|           |    `- Re: SEND+MORE=MONEYMarcel Hendrix
|           `- Re: SEND+MORE=MONEYdxforth
+* Re: SEND+MORE=MONEYAhmed MELAHI
|`* Re: SEND+MORE=MONEYminf...@arcor.de
| `* Re: SEND+MORE=MONEYAhmed MELAHI
|  +* Re: SEND+MORE=MONEYAhmed MELAHI
|  |`- Re: SEND+MORE=MONEYAhmed MELAHI
|  `* Re: SEND+MORE=MONEYminf...@arcor.de
|   +- Re: SEND+MORE=MONEYJali Heinonen
|   +* Re: SEND+MORE=MONEYAhmed MELAHI
|   |`- Re: SEND+MORE=MONEYAhmed MELAHI
|   +* Re: SEND+MORE=MONEYAnton Ertl
|   |`* Re: SEND+MORE=MONEYminf...@arcor.de
|   | `- Re: SEND+MORE=MONEYAnton Ertl
|   +- Re: SEND+MORE=MONEYAhmed MELAHI
|   `* Re: SEND+MORE=MONEYAhmed MELAHI
`- Re: SEND+MORE=MONEYNN

Pages:12345
Re: SEND+MORE=MONEY

<9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:aa2:b0:56c:2300:298 with SMTP id ew2-20020a0562140aa200b0056c23000298mr148404qvb.8.1676737478475;
Sat, 18 Feb 2023 08:24:38 -0800 (PST)
X-Received: by 2002:a0c:ab4f:0:b0:537:ab77:fbe9 with SMTP id
i15-20020a0cab4f000000b00537ab77fbe9mr311847qvb.42.1676737478314; Sat, 18 Feb
2023 08:24:38 -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: Sat, 18 Feb 2023 08:24:37 -0800 (PST)
In-Reply-To: <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me>
<125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com>
<8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Sat, 18 Feb 2023 16:24:38 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2388
 by: Hans Bezemer - Sat, 18 Feb 2023 16:24 UTC

On Saturday, February 18, 2023 at 5:13:05 PM UTC+1, Marcel Hendrix wrote:
> : XINVERT5 PARAMS| a b c d e | e d c b a ;
> : test 1 2 3 4 5 xinvert5 - - - * . ;

Yeah, if you don't mind using your stack as an array, this is quite a viable solution.
As a matter of fact - it would solve just about ANY issues one had with stack acrobatics.
Can't say I have never considered it. Can't say it wouldn't solve any issues. But
it doesn't quite feel like Forth.

And that's all I'm gonna say about THAT ;-)

Hans Bezemer

Re: SEND+MORE=MONEY

<a21ffbef-8621-4ba4-9ed9-70cc5689045dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:f24e:0:b0:571:471:8925 with SMTP id z14-20020a0cf24e000000b0057104718925mr433290qvl.18.1676740699362;
Sat, 18 Feb 2023 09:18:19 -0800 (PST)
X-Received: by 2002:a05:6214:b08:b0:56b:e002:75df with SMTP id
u8-20020a0562140b0800b0056be00275dfmr136864qvj.5.1676740699199; Sat, 18 Feb
2023 09:18: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: Sat, 18 Feb 2023 09:18:18 -0800 (PST)
In-Reply-To: <9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:5912:cb3b:93e6:1136;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:5912:cb3b:93e6:1136
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me>
<125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com>
<8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
<9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a21ffbef-8621-4ba4-9ed9-70cc5689045dn@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Sat, 18 Feb 2023 17:18:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2914
 by: Marcel Hendrix - Sat, 18 Feb 2023 17:18 UTC

On Saturday, February 18, 2023 at 5:24:39 PM UTC+1, Hans Bezemer wrote:
> On Saturday, February 18, 2023 at 5:13:05 PM UTC+1, Marcel Hendrix wrote:
> > : XINVERT5 PARAMS| a b c d e | e d c b a ;
> > : test 1 2 3 4 5 xinvert5 - - - * . ;
>
> Yeah, if you don't mind using your stack as an array, this is quite a viable solution.
> As a matter of fact - it would solve just about ANY issues one had with stack acrobatics.
> Can't say I have never considered it. Can't say it wouldn't solve any issues. But
> it doesn't quite feel like Forth.
>
> And that's all I'm gonna say about THAT ;-)
>
> Hans Bezemer

When XINVERT5 or 3DUP are actually compiled in an application, the stack is not
used at all here, as evidenced by the decompilations (actually it depends on how
these words are called).

Are you saying that ">r over over r@ rot rot r>" does NOT directly or eventually
lead to stack manipulation in the way you do it?

-marcel

Re: SEND+MORE=MONEY

<b1f05b7b-5250-4a63-869d-6fc4caaa1a90n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:e0c5:0:b0:56e:958a:97d2 with SMTP id x5-20020a0ce0c5000000b0056e958a97d2mr226573qvk.27.1676743270690;
Sat, 18 Feb 2023 10:01:10 -0800 (PST)
X-Received: by 2002:a0c:f58b:0:b0:56e:fbcd:9272 with SMTP id
k11-20020a0cf58b000000b0056efbcd9272mr221086qvm.12.1676743270527; Sat, 18 Feb
2023 10:01:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.uzoreto.com!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 18 Feb 2023 10:01:10 -0800 (PST)
In-Reply-To: <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f4a:537c:e45d:c68d:6d3d:ef57;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f4a:537c:e45d:c68d:6d3d:ef57
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me>
<125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com>
<8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1f05b7b-5250-4a63-869d-6fc4caaa1a90n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Sat, 18 Feb 2023 18:01:10 +0000
Content-Type: text/plain; charset="UTF-8"
 by: minf...@arcor.de - Sat, 18 Feb 2023 18:01 UTC

Marcel Hendrix schrieb am Samstag, 18. Februar 2023 um 17:13:05 UTC+1:
> : XINVERT5 PARAMS| a b c d e | e d c b a ;
> : test 1 2 3 4 5 xinvert5 - - - * . ;
>
> FORTH> see test
> Flags: ANSI
> $01348540 : test
> $0134854A push #10 b#
> $0134854C jmp .+10 ( $0124A102 ) offset NEAR
> $01348551 ;
> FORTH> test 10 ok
>

Nice example of compile-time evaluation!

Being curious, what happens with:

: test0 2 3 4 5 xinvert5 - - - * . :
1 test0

Re: SEND+MORE=MONEY

<758bda8c-a282-4022-8255-31a66dd3c7e2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:458a:0:b0:3b7:fda5:1cc4 with SMTP id l10-20020ac8458a000000b003b7fda51cc4mr589134qtn.13.1676745066322;
Sat, 18 Feb 2023 10:31:06 -0800 (PST)
X-Received: by 2002:a05:6214:9aa:b0:56c:1ff3:9e93 with SMTP id
du10-20020a05621409aa00b0056c1ff39e93mr147589qvb.5.1676745066151; Sat, 18 Feb
2023 10:31:06 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 18 Feb 2023 10:31:05 -0800 (PST)
In-Reply-To: <b1f05b7b-5250-4a63-869d-6fc4caaa1a90n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:5912:cb3b:93e6:1136;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:5912:cb3b:93e6:1136
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me>
<125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com>
<8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
<b1f05b7b-5250-4a63-869d-6fc4caaa1a90n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <758bda8c-a282-4022-8255-31a66dd3c7e2n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Sat, 18 Feb 2023 18:31:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Marcel Hendrix - Sat, 18 Feb 2023 18:31 UTC

On Saturday, February 18, 2023 at 7:01:11 PM UTC+1, minf...@arcor.de wrote:
> Marcel Hendrix schrieb am Samstag, 18. Februar 2023 um 17:13:05 UTC+1:
> > : XINVERT5 PARAMS| a b c d e | e d c b a ;
> > : test 1 2 3 4 5 xinvert5 - - - * . ;
> >
> > FORTH> see test
> > Flags: ANSI
> > $01348540 : test
> > $0134854A push #10 b#
> > $0134854C jmp .+10 ( $0124A102 ) offset NEAR
> > $01348551 ;
> > FORTH> test 10 ok
> >
>
> Nice example of compile-time evaluation!
>
> Being curious, what happens with:
>
> : test0 2 3 4 5 xinvert5 - - - * . :
> 1 test0
FORTH> : test0 2 3 4 5 xinvert5 - - - * . :
<3>[FORTH>] 1 test0
Error -13
1 test0
------^
test0 ?

Or did you mean:

FORTH> : test0 2 3 4 5 xinvert5 - - - * . ; ok
FORTH> 1 test0 10 ok
FORTH> .s
Data: ---
System: ---
Float: --- ok
FORTH> see test0
Flags: ANSI
$01340980 : test0
$0134098A pop rbx
$0134098B sub rbx, 2 b#
$0134098F neg rbx
$01340992 sub rbx, 3 b#
$01340996 neg rbx
$01340999 sub rbx, 4 b#
$0134099D neg rbx
$013409A0 lea rbx, [rbx rbx*4] qword
$013409A4 push rbx
$013409A5 jmp .+10 ( $0124A102 ) offset NEAR
$013409AA ;

It only does a single pass :--)

You would normally do it like this:

FORTH> forget test0 ok
FORTH> : test0 2 3 4 5 xinvert5 - - - * ; ok
FORTH> : test2 1 test0 . ; see test2
Flags: ANSI
$01340A00 : test2
$01340A0A push #10 b#
$01340A0C jmp .+10 ( $0124A102 ) offset NEAR
$01340A11 ;

-marcel

Re: SEND+MORE=MONEY

<2023Feb18.193317@mips.complang.tuwien.ac.at>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: SEND+MORE=MONEY
Date: Sat, 18 Feb 2023 18:33:17 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 22
Message-ID: <2023Feb18.193317@mips.complang.tuwien.ac.at>
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com> <9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com> <a21ffbef-8621-4ba4-9ed9-70cc5689045dn@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="6141ad736dd0968a6173f442abb63735";
logging-data="109899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HLtg9iSV0SHv6QoC4ESsd"
Cancel-Lock: sha1:Ak8HRqFpg8XY2y5DdM9c6aGy9xU=
X-newsreader: xrn 10.11
 by: Anton Ertl - Sat, 18 Feb 2023 18:33 UTC

Marcel Hendrix <mhx@iae.nl> writes:
>Are you saying that ">r over over r@ rot rot r>" does NOT directly or eventually
>lead to stack manipulation in the way you do it?

Linux/FORTH (C) 2005 Peter Fälth Version 1.6-982-823 Compiled on 2017-12-03

: foo >r over over r@ rot rot r> ; : bar {: a b c :} a b c a b c ;
see foo see bar
mov eax , [ebp] mov eax , [ebp]
mov [ebp-Ch] , eax mov [ebp-Ch] , eax
mov eax , [ebp+4h] mov eax , [ebp+4h]
mov [ebp-8h] , eax mov [ebp-8h] , eax
mov [ebp-4h] , ebx mov [ebp-4h] , ebx
lea ebp , [ebp-Ch] lea ebp , [ebp-Ch]
ret near ret near

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

Re: SEND+MORE=MONEY

<2023Feb18.194204@mips.complang.tuwien.ac.at>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: SEND+MORE=MONEY
Date: Sat, 18 Feb 2023 18:42:04 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 31
Message-ID: <2023Feb18.194204@mips.complang.tuwien.ac.at>
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me> <7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="6141ad736dd0968a6173f442abb63735";
logging-data="109899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188TvDRxEE8MxMr8AjU24zp"
Cancel-Lock: sha1:W6oymAKbvB5eB3IY7KFR6U+wp3A=
X-newsreader: xrn 10.11
 by: Anton Ertl - Sat, 18 Feb 2023 18:42 UTC

"minf...@arcor.de" <minforth@arcor.de> writes:
>Software-wise, backtracking requires keeping complete search states in memory for each branch.

Only for those on the path from the root to the current node of the
search tree.

>Those states comprise the (so-far pruned) domains of each variable, those are big objects.

It depends. For small domains like in SEND+MORE=MONEY and your
Magic Hexagon example, they are not big.

>There is a rather compact Python constraint solver:
>https://files.pythonhosted.org/packages/37/8b/5f1bc2734ca611943e1d6733ee244238679f6410a10cd45ede55a61a8402/python-constraint-1.4.0.tar.bz2
>Sources are in subfolder /constraint/__init.py__

More than 1500 lines. Compact?

>Standard Forth would have to be tooled up too much to hope to come close to it.

I expect to need much less than 1500 lines for a semi-general approach
that you just need to feed the constraints, domains, and a labeler to
solve stuff like SEND+MORE=MONEY, the Magic Hexagon, and Sudokus. Of
course, if you want more involved solvers, you can invest a lot more
lines of code.

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

Re: SEND+MORE=MONEY

<3147eb07-e804-4592-9425-e688ce18e969n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:9c0e:0:b0:56f:94e:1df1 with SMTP id v14-20020a0c9c0e000000b0056f094e1df1mr337146qve.14.1676750515330;
Sat, 18 Feb 2023 12:01:55 -0800 (PST)
X-Received: by 2002:a0c:ab4f:0:b0:537:ab77:fbe9 with SMTP id
i15-20020a0cab4f000000b00537ab77fbe9mr397256qvb.42.1676750515181; Sat, 18 Feb
2023 12:01:55 -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: Sat, 18 Feb 2023 12:01:54 -0800 (PST)
In-Reply-To: <2023Feb18.193317@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me>
<125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com>
<8c8c2b78-5c67-452b-9461-54d7751cd3c7n@googlegroups.com> <df0dd4e2-9f16-404f-8d50-26fbf9ead358n@googlegroups.com>
<9169442b-1bf3-4193-af8f-bee150e166b9n@googlegroups.com> <a21ffbef-8621-4ba4-9ed9-70cc5689045dn@googlegroups.com>
<2023Feb18.193317@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3147eb07-e804-4592-9425-e688ce18e969n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Sat, 18 Feb 2023 20:01:55 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3357
 by: Marcel Hendrix - Sat, 18 Feb 2023 20:01 UTC

On Saturday, February 18, 2023 at 7:37:08 PM UTC+1, Anton Ertl wrote:
> Marcel Hendrix <m...@iae.nl> writes:
> >Are you saying that ">r over over r@ rot rot r>" does NOT directly or eventually
> >lead to stack manipulation in the way you do it?

Because iForth re-analyzes the stack at will, this is difficult to benchmark.
For foo and bar, SEE <name> just sees what they do when interpreted, not
when they are compiled.

FORTH> : foo >r over over r@ rot rot r> ; : bar params| a b c | a b c a b c ; ok
FORTH> see foo see bar
Flags: TOKENIZE, ANSI
: foo >R OVER OVER R@ ROT ROT R> ;
Flags: TOKENIZE, ANSI
: bar (3)PARAMS %a %b %c %a %b %c ; ok
FORTH> ' foo idis
$0133DC80 : foo
$0133DC8A pop rbx
$0133DC8B pop rdi
$0133DC8C mov rax, [rsp] qword
$0133DC90 push rdi
$0133DC91 push rbx
$0133DC92 push rax
$0133DC93 push rdi
$0133DC94 push rbx
$0133DC95 ;
FORTH> ' bar idis
$01340500 : bar
$0134050A pop rbx
$0134050B pop rdi
$0134050C mov rax, [rsp] qword
$01340510 push rdi
$01340511 push rbx
$01340512 push rax
$01340513 push rdi
$01340514 push rbx
$01340515 ;
FORTH> : test 1 2 3 foo bar ; ok
FORTH> see test
Flags: TOKENIZE, ANSI
: test 1 2 3 [trashed] [trashed] ; ok
FORTH> ' test idis
$01340580 : test
$0134058A push 1 b#
$0134058C push 2 b#
$0134058E push 3 b#
$01340590 push 1 b#
$01340592 push 2 b#
$01340594 push 3 b#
$01340596 push 1 b#
$01340598 push 2 b#
$0134059A push 3 b#
$0134059C ;

-marcel

Re: SEND+MORE=MONEY

<5bb4c7d5-b44c-42fa-a9b6-b30be79edef7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:e34c:0:b0:571:471:8925 with SMTP id a12-20020a0ce34c000000b0057104718925mr23827qvm.18.1676754557985;
Sat, 18 Feb 2023 13:09:17 -0800 (PST)
X-Received: by 2002:ac8:6113:0:b0:3b9:b597:d3c7 with SMTP id
a19-20020ac86113000000b003b9b597d3c7mr572193qtm.9.1676754557755; Sat, 18 Feb
2023 13:09:17 -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: Sat, 18 Feb 2023 13:09:17 -0800 (PST)
In-Reply-To: <2023Feb18.194204@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=87.157.110.94; posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 87.157.110.94
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<tsgfb7$2j21e$1@dont-email.me> <7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com>
<a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com>
<tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com>
<19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com>
<2023Feb18.194204@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5bb4c7d5-b44c-42fa-a9b6-b30be79edef7n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Sat, 18 Feb 2023 21:09:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2459
 by: minf...@arcor.de - Sat, 18 Feb 2023 21:09 UTC

Anton Ertl schrieb am Samstag, 18. Februar 2023 um 19:51:55 UTC+1:
> "minf...@arcor.de" <minf...@arcor.de> writes:
> >There is a rather compact Python constraint solver:
> >https://files.pythonhosted.org/packages/37/8b/5f1bc2734ca611943e1d6733ee244238679f6410a10cd45ede55a61a8402/python-constraint-1.4.0.tar.bz2
> >Sources are in subfolder /constraint/__init.py__
>
> More than 1500 lines. Compact?

Take away the comments and it becomes more digestible.

> >Standard Forth would have to be tooled up too much to hope to come close to it.
>
> I expect to need much less than 1500 lines for a semi-general approach
> that you just need to feed the constraints, domains, and a labeler to
> solve stuff like SEND+MORE=MONEY, the Magic Hexagon, and Sudokus. Of
> course, if you want more involved solvers, you can invest a lot more
> lines of code.

I like your optimism. ;-)

Re: SEND+MORE=MONEY

<tss2pn$6o21$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: SEND+MORE=MONEY
Date: Sun, 19 Feb 2023 13:50:31 +1100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tss2pn$6o21$1@dont-email.me>
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com>
<tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com>
<a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com>
<tsp7ek$3p077$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Feb 2023 02:50:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="45dea972aca17d1a23b40be7e6fa5899";
logging-data="221249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ExoNesJ2n5DWvYALATTJV"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.2
Cancel-Lock: sha1:ZMXo3g94Mw6YxXpD2kPTVWVudWc=
In-Reply-To: <tsp7ek$3p077$1@dont-email.me>
Content-Language: en-GB
 by: dxforth - Sun, 19 Feb 2023 02:50 UTC

On 18/02/2023 11:51 am, dxforth wrote:
> On 18/02/2023 12:36 am, minf...@arcor.de wrote:
>>
>> Here's with non-recursive permutation algorithm. Quick timing showed no speed
>> increase significant for practical purposes. Only benefit would be less 'stress' on the
>> return stack.
>
> Haven't measured it but appears to be less of an issue than the time taken
> to generate the permutations which rises factorially.  The latter is likely
> to get you first.
>

Some figures for recursive version. For 10 items it used 27 cells of return
stack and 12 cells for 5 items. My DO LOOP has an overhead of 2 cells of
return stack.

Re: SEND+MORE=MONEY

<3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:c0f:b0:73b:b599:6772 with SMTP id l15-20020a05620a0c0f00b0073bb5996772mr488266qki.15.1676802768959;
Sun, 19 Feb 2023 02:32:48 -0800 (PST)
X-Received: by 2002:a0c:f08f:0:b0:56e:c4fd:4ce4 with SMTP id
g15-20020a0cf08f000000b0056ec4fd4ce4mr378198qvk.50.1676802768749; Sun, 19 Feb
2023 02:32:48 -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: Sun, 19 Feb 2023 02:32:48 -0800 (PST)
In-Reply-To: <3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <9dcf5171-07bb-46ff-a9ca-200c9326da25n@googlegroups.com>
<3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Sun, 19 Feb 2023 10:32:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3748
 by: Marcel Hendrix - Sun, 19 Feb 2023 10:32 UTC

On Friday, February 17, 2023 at 6:29:07 PM UTC+1, Hans Bezemer wrote:
> On Friday, February 17, 2023 at 6:05:51 PM UTC+1, Marcel Hendrix wrote:
> > On Friday, February 17, 2023 at 2:36:38 PM UTC+1, minf...@arcor.de wrote:
> > > minf...@arcor.de schrieb am Mittwoch, 15. Februar 2023 um 10:16:33 UTC+1:
[..]
> "Me> Assume every character is actually a figure, which calculation is
> made here: SEND+MORE=MONEY"
>
> ChatGPT> In the SEND+MORE=MONEY puzzle, the goal is to assign each letter a
> digit from 0 to 9 in such a way that the resulting mathematical equation is correct.
> Each letter represents a distinct digit, and the leftmost digit in any number cannot
> be 0.
[..]
Note that chatGPT's repetition of the description is much more precise than the original.
It correctly identified that "figure" is probably meant to be "number" or "digit in base 10".
It figured out that "every character is..." probably excludes '+' and '=', and that although
characters ("every") appear multiple times, this does not mean they represent different
digits. That is an impressive feat of understanding sloppy text input -- without knowing
the background of the typist(*), the chance of getting this right is almost zero.

However, the most import part of the input is clearly "SEND+MORE=MONEY", and
chatGPT has been trained what that is, or can find it somewhere (just like a human
being would look it up with his Google glasses). This implies it also can find
answers to this puzzle, and can regurgitate or rewrite the most suitable (in a
technical sense) one. A more challenging question would be to create a puzzle
with a different trigger phrase, like "zend-meer=pecunia". I suspect it will find
the connection to the original, but it is now forced to write its own program
(although it probably just tries randomly, depending on its computing resources).

-marcel

*) I guess it does know a lot about the questioner, based on e-mail address
and Google history.

Re: SEND+MORE=MONEY

<f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:9bc9:0:b0:56f:6f5:36c9 with SMTP id g9-20020a0c9bc9000000b0056f06f536c9mr1625580qvf.11.1676814055504;
Sun, 19 Feb 2023 05:40:55 -0800 (PST)
X-Received: by 2002:a0c:e30c:0:b0:570:9078:72f9 with SMTP id
s12-20020a0ce30c000000b00570907872f9mr37705qvl.59.1676814055287; Sun, 19 Feb
2023 05:40:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 05:40:54 -0800 (PST)
In-Reply-To: <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <9dcf5171-07bb-46ff-a9ca-200c9326da25n@googlegroups.com>
<3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com> <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Sun, 19 Feb 2023 13:40:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3829
 by: Hans Bezemer - Sun, 19 Feb 2023 13:40 UTC

On Sunday, February 19, 2023 at 11:32:50 AM UTC+1, Marcel Hendrix wrote:
> However, the most import part of the input is clearly "SEND+MORE=MONEY", and
> chatGPT has been trained what that is, or can find it somewhere (just like a human
> being would look it up with his Google glasses). This implies it also can find
> answers to this puzzle, and can regurgitate or rewrite the most suitable (in a
> technical sense) one. A more challenging question would be to create a puzzle
> with a different trigger phrase, like "zend-meer=pecunia". I suspect it will find
> the connection to the original, but it is now forced to write its own program
> (although it probably just tries randomly, depending on its computing resources).

I'm way ahead of you (GPT responses abridged):

Me> Now solve for this one: TILES+PUZZLES=PICTURE
GPT> And the sum TILES + PUZZLES = PICTURE can be written as: 97546 + 5045021 = 5142567
Me> That's incorrect. Both TILES and PUZZLES end with an "S" - yet the numbers are different in the addition. Try again.
GPT> This works! Therefore, the solution is TILES=19357, PUZZLES=73315, and PICTURE=926722.
Me> Wrong again. Both TILES and PUZZLES end in an "S". Yet the numbers of the addition are different.
GPT> Therefore, TILES + PUZZLES = PICTURE is true when TILES is 95831 and PUZZLES is 762215.
Me> What about 91542+3077542=3169084?
GPT> I'm sorry, but 91542+3077542 does not equal 3169084. The sum of those two numbers is actually 3169084.
Me> Really? Add 91542+3077542 and compare it to 3169084.
GPT> I apologize, you are correct, my previous response was in error. The sum of 91542 and 3077542 is 3169084, but this is not a valid solution to the TILES + PUZZLES = PICTURE puzzle, as you pointed out. I'm sorry for any confusion I may have caused. I will try again to find a valid solution to TILES + PUZZLES = PICTURE.

And then I gave up :(

Hans Bezemer

Re: SEND+MORE=MONEY

<9fa30752-5cc2-4354-8c9d-8b51f3987c5an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5906:0:b0:56f:fe44:f257 with SMTP id ez6-20020ad45906000000b0056ffe44f257mr100655qvb.1.1676814535452;
Sun, 19 Feb 2023 05:48:55 -0800 (PST)
X-Received: by 2002:a0c:e345:0:b0:56e:cfe0:b925 with SMTP id
a5-20020a0ce345000000b0056ecfe0b925mr325144qvm.52.1676814535273; Sun, 19 Feb
2023 05:48:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 05:48:54 -0800 (PST)
In-Reply-To: <5bb4c7d5-b44c-42fa-a9b6-b30be79edef7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<tsgfb7$2j21e$1@dont-email.me> <7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com>
<a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com>
<tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com>
<19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com>
<2023Feb18.194204@mips.complang.tuwien.ac.at> <5bb4c7d5-b44c-42fa-a9b6-b30be79edef7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9fa30752-5cc2-4354-8c9d-8b51f3987c5an@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Sun, 19 Feb 2023 13:48:55 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1979
 by: Hans Bezemer - Sun, 19 Feb 2023 13:48 UTC

On Saturday, February 18, 2023 at 10:09:19 PM UTC+1, minf...@arcor.de wrote:
> > More than 1500 lines. Compact?
> Take away the comments and it becomes more digestible.
To become "digestible" you've got to scrap a darn lot of lines.

To give you an idea:
Preprocessor, 495 lines, 440 SLOC
BASIC interpreter, 1055 lines, 929 SLOC

Hans Bezemer

Re: SEND+MORE=MONEY

<b24f0382-76d9-4c67-8063-40f7176f5a5en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:9a02:0:b0:537:702d:4db8 with SMTP id p2-20020a0c9a02000000b00537702d4db8mr247745qvd.47.1676815278572;
Sun, 19 Feb 2023 06:01:18 -0800 (PST)
X-Received: by 2002:a0c:ca14:0:b0:56e:a1cc:bbb3 with SMTP id
c20-20020a0cca14000000b0056ea1ccbbb3mr152055qvk.42.1676815277982; Sun, 19 Feb
2023 06:01:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 06:01:17 -0800 (PST)
In-Reply-To: <f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f18:6d00:14b0:327a:e5cc:6de6
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <9dcf5171-07bb-46ff-a9ca-200c9326da25n@googlegroups.com>
<3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com> <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
<f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b24f0382-76d9-4c67-8063-40f7176f5a5en@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Sun, 19 Feb 2023 14:01:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2921
 by: Marcel Hendrix - Sun, 19 Feb 2023 14:01 UTC

On Sunday, February 19, 2023 at 2:40:56 PM UTC+1, Hans Bezemer wrote:
> On Sunday, February 19, 2023 at 11:32:50 AM UTC+1, Marcel Hendrix wrote:
[..]
> I'm way ahead of you (GPT responses abridged)
>
> Me> Now solve for this one: TILES+PUZZLES=PICTURE
> GPT> And the sum TILES + PUZZLES = PICTURE can be written as: 97546 + 5045021 = 5142567
> Me> That's incorrect. Both TILES and PUZZLES end with an "S" - yet the numbers
> are different in the addition. Try again.

This matches with what I tried before. Also, if you insist your own (wrong) answer
is correct, it will back down after a single attempt to point out it is right. That is, of
course, a useless strategy.

What I don't understand is why it gives wrong answers at all. It may be a time-out
when randomly trying to find an answer, but why would it pretend its best result at
that point is correct? If you just ask for another solution it eventually finds a
correct one.

Of course, we are not able to understand the machinations of a superior intelligence.

-marcel

Re: SEND+MORE=MONEY

<df2d325f-757e-4136-9296-938920319e69n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:dc01:0:b0:56e:a7f9:2e2a with SMTP id s1-20020a0cdc01000000b0056ea7f92e2amr471245qvk.80.1676816543073;
Sun, 19 Feb 2023 06:22:23 -0800 (PST)
X-Received: by 2002:ac8:4581:0:b0:3bd:17ec:5fc9 with SMTP id
l1-20020ac84581000000b003bd17ec5fc9mr899016qtn.6.1676816542926; Sun, 19 Feb
2023 06:22:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 06:22:22 -0800 (PST)
In-Reply-To: <b24f0382-76d9-4c67-8063-40f7176f5a5en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <9dcf5171-07bb-46ff-a9ca-200c9326da25n@googlegroups.com>
<3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com> <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
<f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com> <b24f0382-76d9-4c67-8063-40f7176f5a5en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df2d325f-757e-4136-9296-938920319e69n@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Sun, 19 Feb 2023 14:22:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2747
 by: Hans Bezemer - Sun, 19 Feb 2023 14:22 UTC

On Sunday, February 19, 2023 at 3:01:19 PM UTC+1, Marcel Hendrix wrote:
> This matches with what I tried before. Also, if you insist your own (wrong) answer
> is correct, it will back down after a single attempt to point out it is right. That is, of
> course, a useless strategy.
Completely true! Although I haven't been so devious to persist on wrong answers.
I'm essentially a nice guy :)
> Of course, we are not able to understand the machinations of a superior intelligence.
I don't get the impression I'm talking to a person - even when it sometimes
baffles me with its responses. For instance, I feed it a random program and it really
and consistently nails what the darn thing is supposed to do. It may be my programming
style, but still..

But it's just not like a real human would behave. So much for the Turing test..

Hans Bezemer

Re: SEND+MORE=MONEY

<c731c793-8b97-465d-90a9-58f06e70397cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:28cc:b0:72b:25b4:565f with SMTP id l12-20020a05620a28cc00b0072b25b4565fmr425654qkp.5.1676821442752;
Sun, 19 Feb 2023 07:44:02 -0800 (PST)
X-Received: by 2002:a0c:8d48:0:b0:56e:c4fd:4ce4 with SMTP id
s8-20020a0c8d48000000b0056ec4fd4ce4mr68174qvb.50.1676821442584; Sun, 19 Feb
2023 07:44:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 07:44:02 -0800 (PST)
In-Reply-To: <df2d325f-757e-4136-9296-938920319e69n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.242.210.36; posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 99.242.210.36
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<87ttzvzmmb.fsf@nightsong.com> <2023Feb9.084758@mips.complang.tuwien.ac.at>
<87pmaiztp1.fsf@nightsong.com> <87h6vuzl8v.fsf@nightsong.com>
<2023Feb10.113948@mips.complang.tuwien.ac.at> <87bklxux2b.fsf@nightsong.com>
<3f8e2c0c-f72b-41f6-ac0f-5b115cfd0530n@googlegroups.com> <tsgfb7$2j21e$1@dont-email.me>
<7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com>
<ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <9dcf5171-07bb-46ff-a9ca-200c9326da25n@googlegroups.com>
<3d36dc02-93e6-448c-82e4-eabf2703ab93n@googlegroups.com> <3763937b-2cd5-4242-a04a-596056040e98n@googlegroups.com>
<f430320b-b201-4f28-9e87-34a41ef29747n@googlegroups.com> <b24f0382-76d9-4c67-8063-40f7176f5a5en@googlegroups.com>
<df2d325f-757e-4136-9296-938920319e69n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c731c793-8b97-465d-90a9-58f06e70397cn@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: brian....@brianfox.ca (Brian Fox)
Injection-Date: Sun, 19 Feb 2023 15:44:02 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2300
 by: Brian Fox - Sun, 19 Feb 2023 15:44 UTC

On Sunday, February 19, 2023 at 9:22:24 AM UTC-5, Hans Bezemer wrote:

> But it's just not like a real human would behave. So much for the Turing test..

That's an interesting insight Hans.
The future of AI may resemble aviation in that way.
Clearly our aircraft are not birds, yet they can fly.
So maybe we will always observe these things as aliens.

Re: SEND+MORE=MONEY

<46a0bc53-54bd-4085-9d9c-0875124c302en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:9a02:0:b0:537:702d:4db8 with SMTP id p2-20020a0c9a02000000b00537702d4db8mr304199qvd.47.1676825506914;
Sun, 19 Feb 2023 08:51:46 -0800 (PST)
X-Received: by 2002:a0c:f249:0:b0:56e:958a:97d2 with SMTP id
z9-20020a0cf249000000b0056e958a97d2mr140191qvl.27.1676825506718; Sun, 19 Feb
2023 08:51:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Sun, 19 Feb 2023 08:51:46 -0800 (PST)
In-Reply-To: <2023Feb18.194204@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f4a:53fd:30ed:2dae:6b36:f709;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f4a:53fd:30ed:2dae:6b36:f709
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<tsgfb7$2j21e$1@dont-email.me> <7dee5cf0-c8e9-4997-8eb3-54484a049523n@googlegroups.com>
<a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com>
<tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com>
<19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com>
<2023Feb18.194204@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <46a0bc53-54bd-4085-9d9c-0875124c302en@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Sun, 19 Feb 2023 16:51:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2875
 by: minf...@arcor.de - Sun, 19 Feb 2023 16:51 UTC

Anton Ertl schrieb am Samstag, 18. Februar 2023 um 19:51:55 UTC+1:
> I expect to need much less than 1500 lines for a semi-general approach
> that you just need to feed the constraints, domains, and a labeler to
> solve stuff like SEND+MORE=MONEY, the Magic Hexagon, and Sudokus.

I guess that you know Markus Triska. So you might really have some ideas
of how to do labeling in Forth?

BProlog program to solve the Hexagon (apart from labeling everything else
is straightforward):

go :- LD = [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S],
domain(LD,1,19),
all_distinct(LD),

% sums of rows and diagonals:
A + B + C #= 38,
D + E + F + G #= 38,
H + I + J + K + L #= 38,
M + N + O + P #= 38,
Q + R + S #= 38,
A + D + H #= 38,
B + E + I + M #= 38,
C + F + J + N + Q #= 38,
G + K + O + R #= 38,
L + P + S #= 38,
C + G + L #= 38,
B + F + K + P #= 38,
A + E + J + O + S #= 38,
D + I + N + R #= 38,
H + M + Q #= 38,
% no rotations:
A #< C, A #< H, A #< L, A #< Q, A #< S, C #< H,

labeling([ff], LD),

writeln(LD),
nl.

Re: SEND+MORE=MONEY

<2023Feb21.182927@mips.complang.tuwien.ac.at>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: SEND+MORE=MONEY
Date: Tue, 21 Feb 2023 17:29:27 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 30
Message-ID: <2023Feb21.182927@mips.complang.tuwien.ac.at>
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com> <a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com> <tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com> <19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com> <2023Feb18.194204@mips.complang.tuwien.ac.at> <46a0bc53-54bd-4085-9d9c-0875124c302en@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="1744eeb7c394b82e42d97ae18c04dd3b";
logging-data="1264707"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eK+xGx55VlBS8ykqWFNEs"
Cancel-Lock: sha1:aaMCiZxqXDfLpFH3pm19bD6qUlM=
X-newsreader: xrn 10.11
 by: Anton Ertl - Tue, 21 Feb 2023 17:29 UTC

"minf...@arcor.de" <minforth@arcor.de> writes:
>I guess that you know Markus Triska.

Yes.

>So you might really have some ideas
>of how to do labeling in Forth?

Not from him. I did my last work in the field of CLP in 1993, several
years before Markus Triska appeared on the scene. I learned from

@book(vanhentenryck89,
Author = "Van Hentenryck, Pascal",
Title = "{Constraint Satisfaction in Logic Programming}",
Series = "{Logic Programming Series}",
Year = "1989",
Publisher= "MIT Press",
Address = "Cambridge, Massachusetts"
)

and from Thomas Graf who worked with Van Hentenryck and others on the
early CLP language CHIP
<https://en.wikipedia.org/wiki/CHIP_(programming_language)> at ECRC.

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

Re: SEND+MORE=MONEY

<c429e2c7-f950-4400-ae83-a3def42d2a8dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a0c:f3d3:0:b0:56e:a7f9:2e2a with SMTP id f19-20020a0cf3d3000000b0056ea7f92e2amr982341qvm.80.1677003036395;
Tue, 21 Feb 2023 10:10:36 -0800 (PST)
X-Received: by 2002:a37:74b:0:b0:71f:b8ba:ff4a with SMTP id
72-20020a37074b000000b0071fb8baff4amr1376578qkh.8.1677003036125; Tue, 21 Feb
2023 10:10:36 -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: Tue, 21 Feb 2023 10:10:35 -0800 (PST)
In-Reply-To: <2023Feb21.182927@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f4a:5386:80ec:cd63:81e4:eefc;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f4a:5386:80ec:cd63:81e4:eefc
References: <78cfcd0a-5bc4-4584-8a92-9e8005a0e306n@googlegroups.com>
<a49435d0-2aed-427e-85b0-2c0df997bb2cn@googlegroups.com> <ff70b327-2396-44bd-91c2-d0bb54dd23d6n@googlegroups.com>
<tsp7ek$3p077$1@dont-email.me> <125c1842-65f2-4a3e-8d43-9575d39e300en@googlegroups.com>
<19036f44-6789-42bc-8fe7-3633a1a707a0n@googlegroups.com> <3e470581-f283-4677-822b-376eecfeabd5n@googlegroups.com>
<2023Feb18.194204@mips.complang.tuwien.ac.at> <46a0bc53-54bd-4085-9d9c-0875124c302en@googlegroups.com>
<2023Feb21.182927@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c429e2c7-f950-4400-ae83-a3def42d2a8dn@googlegroups.com>
Subject: Re: SEND+MORE=MONEY
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Tue, 21 Feb 2023 18:10:36 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2800
 by: minf...@arcor.de - Tue, 21 Feb 2023 18:10 UTC

Anton Ertl schrieb am Dienstag, 21. Februar 2023 um 18:46:45 UTC+1:
> "minf...@arcor.de" <minf...@arcor.de> writes:
> >I guess that you know Markus Triska.
> Yes.
> >So you might really have some ideas
> >of how to do labeling in Forth?
> Not from him. I did my last work in the field of CLP in 1993, several
> years before Markus Triska appeared on the scene. I learned from
>
> @book(vanhentenryck89,
> Author = "Van Hentenryck, Pascal",
> Title = "{Constraint Satisfaction in Logic Programming}",
> Series = "{Logic Programming Series}",
> Year = "1989",
> Publisher= "MIT Press",
> Address = "Cambridge, Massachusetts"
> )

At that time I got hooked by Turbo Prolog and wrote longish applications
in it, until DOS memory limitations clanked me out. :-(
It's "successor" Visual Prolog never had that appeal and is/was way too fat.

> and from Thomas Graf who worked with Van Hentenryck and others on the
> early CLP language CHIP
> <https://en.wikipedia.org/wiki/CHIP_(programming_language)> at ECRC.
> - anton

CLP DSLs have come a long way since then. Today MiniZinc seems to get
the most attention:
https://www.minizinc.org

Pages:12345
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor