Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Prediction is very difficult, especially of the future. -- Niels Bohr


devel / comp.lang.prolog / Re: 50 Years of Prolog Nonsense

SubjectAuthor
* 50 Years of Prolog NonsenseMostowski Collapse
`* 50 Years of Prolog NonsenseMostowski Collapse
 `* 50 Years of Prolog NonsenseMostowski Collapse
  `* 50 Years of Prolog NonsenseMostowski Collapse
   `* 50 Years of Prolog NonsenseMostowski Collapse
    `* 50 Years of Prolog NonsenseMostowski Collapse
     +* 50 Years of Prolog NonsenseMostowski Collapse
     |`* 50 Years of Prolog NonsenseMostowski Collapse
     | +* 50 Years of Prolog NonsenseMostowski Collapse
     | |`- 50 Years of Prolog NonsenseMostowski Collapse
     | `* 50 Years of Prolog NonsenseMild Shock
     |  `* 50 Years of Prolog NonsenseMild Shock
     |   +* 50 Years of Prolog NonsenseMild Shock
     |   |`* 50 Years of Prolog NonsenseMild Shock
     |   | `* 50 Years of Prolog NonsenseMild Shock
     |   |  `- 50 Years of Prolog NonsenseMild Shock
     |   `- 50 Years of Prolog NonsenseMild Shock
     `* 50 Years of Prolog NonsenseMostowski Collapse
      `* 50 Years of Prolog NonsenseMostowski Collapse
       `* 50 Years of Prolog NonsenseMostowski Collapse
        +* 50 Years of Prolog NonsenseMostowski Collapse
        |`* 50 Years of Prolog NonsenseMostowski Collapse
        | `- 50 Years of Prolog NonsenseMostowski Collapse
        `* 50 Years of Prolog NonsenseMarkus Triska
         `* 50 Years of Prolog NonsenseMostowski Collapse
          `* 50 Years of Prolog NonsenseMostowski Collapse
           `* 50 Years of Prolog NonsenseMostowski Collapse
            `* 50 Years of Prolog NonsenseMostowski Collapse
             `* 50 Years of Prolog NonsenseMostowski Collapse
              `* 50 Years of Prolog NonsenseMostowski Collapse
               `* 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +* 50 Years of Prolog NonsenseMostowski Collapse
                |`* 50 Years of Prolog NonsenseMarkus Triska
                | `* 50 Years of Prolog NonsenseMild Shock
                |  `* Re: 50 Years of Prolog NonsenseMild Shock
                |   `- Re: 50 Years of Prolog NonsenseMild Shock
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                +- 50 Years of Prolog NonsenseMostowski Collapse
                `- 50 Years of Prolog NonsenseMostowski Collapse

Pages:123
Re: 50 Years of Prolog Nonsense

<m2sfn6kzuc.fsf@logic.at>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
From: triska@logic.at (Markus Triska)
Newsgroups: comp.lang.prolog
Subject: Re: 50 Years of Prolog Nonsense
Organization: man
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com>
<b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com>
<5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com>
<1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com>
<3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com>
Message-ID: <m2sfn6kzuc.fsf@logic.at>
User-Agent: Emacs/27.0.50
Cancel-Lock: sha1:z/QEY+eYG9EGF+7XTDPRSS2JiTM=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 35
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Tue, 12 Jul 2022 17:21:20 UTC
Date: Tue, 12 Jul 2022 19:25:31 +0200
X-Received-Bytes: 2872
 by: Markus Triska - Tue, 12 Jul 2022 17:25 UTC

Mostowski Collapse <bursejan@gmail.com> writes:

> Which had these people behind it, potential users of it:

However, not everyone in this list supports everything in the document.
And the document is from 14 years ago: Back then, important constructs
such as if_/3, tfilter/3 etc. were not even found, and the quest for
better constructs was quite stalled. We can do better today than many of
us thought possible in 2008, or even in 2016: For example, just in these
last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
ichiban/prolog) where double_quotes is set to chars by default. Who
thought that this was possible in 2008? I think even in 2012 or even
later, implementors advocated for JavaScript-style "strings" in Prolog
and even added them to their systems, until a new representation
pioneered by Scryer Prolog made chars viable in newer systems. forall/2
probably likewise seemed necessary in 2008, but does it still seem so
today? A better, not yet found construct, could likewise make it
obsolete, just like JavaScript-style strings have now become obsolete.

> Make a GitHub search, you find many places where it is used
> by some Prolog programmer. Its kind of staple food.

You will find a lot on GitHub, a lot of Java and C code too. It could
make for an interesting analysis, however I find decisions based on such
statistics subject to certain doubts: For example, is a construct that
violates elementary logical properties good because it appears in a lot
of programs? Or does this rather show that many programs could be
improved by removing this construct entirely from the language?

All the best,
Markus

--
comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:27ef:b0:473:2465:c2 with SMTP id jt15-20020a05621427ef00b00473246500c2mr244737qvb.37.1657662619590;
Tue, 12 Jul 2022 14:50:19 -0700 (PDT)
X-Received: by 2002:a0d:e2d3:0:b0:31c:80cc:c002 with SMTP id
l202-20020a0de2d3000000b0031c80ccc002mr462339ywe.410.1657662619142; Tue, 12
Jul 2022 14:50:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 14:50:18 -0700 (PDT)
In-Reply-To: <m2sfn6kzuc.fsf@logic.at>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 21:50:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 75
 by: Mostowski Collapse - Tue, 12 Jul 2022 21:50 UTC

Well the error is always the programmer, in this
case the programmer doesnt know that in Prolog
bound variables have to be „ purified“ i.e. given

different names. For example spinning your nonsense
further far ahead, you could also demand to ban
findall from Prolog, because:

?- findall(X, member(X, [1,4,2], L).
L = [1, 4, 2]

X is not instantiated in the answer, so by monotonicity,
we should be able to instantiate it, but it goes wrong:

?- X = 3, findall(X, member(X, [1,4,2], L).
fail

Separating away variable names is bread and butter in
theorem proving. I dont think double_quotes chars value
is a contribution here, neither if_ etc.

I dont find any proposal for an improvement either in
the new Prolog systems like Trealla, Scryer, etc..

I only find turds on GitHub all over the place forbid
this forbid that despite there is not a single outcry
by other Prolog programmers that variable

purification is not a body convesion step in ISO standard
Prolog. Write please an amendmend to the ISO standard
or define a new language with automatic variable

separation and then we can talk again.

P.S.: Lambda Prolog can do it. But you would write
findall invocation slightly differently.

Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> Mostowski Collapse <burs...@gmail.com> writes:
>
> > Which had these people behind it, potential users of it:
> However, not everyone in this list supports everything in the document.
> And the document is from 14 years ago: Back then, important constructs
> such as if_/3, tfilter/3 etc. were not even found, and the quest for
> better constructs was quite stalled. We can do better today than many of
> us thought possible in 2008, or even in 2016: For example, just in these
> last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> ichiban/prolog) where double_quotes is set to chars by default. Who
> thought that this was possible in 2008? I think even in 2012 or even
> later, implementors advocated for JavaScript-style "strings" in Prolog
> and even added them to their systems, until a new representation
> pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> probably likewise seemed necessary in 2008, but does it still seem so
> today? A better, not yet found construct, could likewise make it
> obsolete, just like JavaScript-style strings have now become obsolete.
> > Make a GitHub search, you find many places where it is used
> > by some Prolog programmer. Its kind of staple food.
> You will find a lot on GitHub, a lot of Java and C code too. It could
> make for an interesting analysis, however I find decisions based on such
> statistics subject to certain doubts: For example, is a construct that
> violates elementary logical properties good because it appears in a lot
> of programs? Or does this rather show that many programs could be
> improved by removing this construct entirely from the language?
>
> All the best,
> Markus
>
> --
> comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:389:b0:31d:3d5e:6317 with SMTP id j9-20020a05622a038900b0031d3d5e6317mr146291qtx.268.1657663287856;
Tue, 12 Jul 2022 15:01:27 -0700 (PDT)
X-Received: by 2002:a25:b9c3:0:b0:668:a418:13c with SMTP id
y3-20020a25b9c3000000b00668a418013cmr454298ybj.498.1657663287310; Tue, 12 Jul
2022 15:01:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 15:01:27 -0700 (PDT)
In-Reply-To: <781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 22:01:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 105
 by: Mostowski Collapse - Tue, 12 Jul 2022 22:01 UTC

In Lambda Prolog you could define a findall
by accempting a higher order closure using
some lambda binder, here I am using (\)/2 for

this purpose. findall would only have arity 2:

?- findall(X\member(X, [1,4,2]), L).
L = [1, 4, 2]
?- X = 3, findall(X\member(X, [1,4,2]), L).
X = 3,
L = [1, 4, 2]

But you have to rethink your logic programming
language from ground up. You might need a different
read term, or some post processing of read term.

Lambda Prolog does all that. But posting turds on GitHub
does nothing. It only shows that you are ignorant about
possible solutions that exist since Alonzo Church,

https://en.m.wikipedia.org/wiki/Alonzo_Church

The solutions are older than the 50 years of prolog.

Mostowski Collapse schrieb am Dienstag, 12. Juli 2022 um 23:50:20 UTC+2:
> Well the error is always the programmer, in this
> case the programmer doesnt know that in Prolog
> bound variables have to be „ purified“ i.e. given
>
> different names. For example spinning your nonsense
> further far ahead, you could also demand to ban
> findall from Prolog, because:
>
> ?- findall(X, member(X, [1,4,2], L).
> L = [1, 4, 2]
>
> X is not instantiated in the answer, so by monotonicity,
> we should be able to instantiate it, but it goes wrong:
>
> ?- X = 3, findall(X, member(X, [1,4,2], L).
> fail
>
> Separating away variable names is bread and butter in
> theorem proving. I dont think double_quotes chars value
> is a contribution here, neither if_ etc.
>
> I dont find any proposal for an improvement either in
> the new Prolog systems like Trealla, Scryer, etc..
>
> I only find turds on GitHub all over the place forbid
> this forbid that despite there is not a single outcry
> by other Prolog programmers that variable
>
> purification is not a body convesion step in ISO standard
> Prolog. Write please an amendmend to the ISO standard
> or define a new language with automatic variable
>
> separation and then we can talk again.
>
> P.S.: Lambda Prolog can do it. But you would write
> findall invocation slightly differently.
> Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> > Mostowski Collapse <burs...@gmail.com> writes:
> >
> > > Which had these people behind it, potential users of it:
> > However, not everyone in this list supports everything in the document.
> > And the document is from 14 years ago: Back then, important constructs
> > such as if_/3, tfilter/3 etc. were not even found, and the quest for
> > better constructs was quite stalled. We can do better today than many of
> > us thought possible in 2008, or even in 2016: For example, just in these
> > last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> > ichiban/prolog) where double_quotes is set to chars by default. Who
> > thought that this was possible in 2008? I think even in 2012 or even
> > later, implementors advocated for JavaScript-style "strings" in Prolog
> > and even added them to their systems, until a new representation
> > pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> > probably likewise seemed necessary in 2008, but does it still seem so
> > today? A better, not yet found construct, could likewise make it
> > obsolete, just like JavaScript-style strings have now become obsolete.
> > > Make a GitHub search, you find many places where it is used
> > > by some Prolog programmer. Its kind of staple food.
> > You will find a lot on GitHub, a lot of Java and C code too. It could
> > make for an interesting analysis, however I find decisions based on such
> > statistics subject to certain doubts: For example, is a construct that
> > violates elementary logical properties good because it appears in a lot
> > of programs? Or does this rather show that many programs could be
> > improved by removing this construct entirely from the language?
> >
> > All the best,
> > Markus
> >
> > --
> > comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> > The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:d62:b0:472:f9c3:c9be with SMTP id 2-20020a0562140d6200b00472f9c3c9bemr462106qvs.70.1657664219426;
Tue, 12 Jul 2022 15:16:59 -0700 (PDT)
X-Received: by 2002:a81:16ce:0:b0:31c:b93c:adbc with SMTP id
197-20020a8116ce000000b0031cb93cadbcmr606469yww.20.1657664219040; Tue, 12 Jul
2022 15:16:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 15:16:58 -0700 (PDT)
In-Reply-To: <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 22:16:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 139
 by: Mostowski Collapse - Tue, 12 Jul 2022 22:16 UTC

Corr.: Currently in Prolog we would have:

?- X = 3, findall(X, member(X, [1,4,2]), L).
X = 3,
L = []

In as far forall/2 has a similar „problem“
which is usually taken care by the programmer,
similarly like the programmer watches

that his findalls are purified according to the
use case he has. Etc.. etc… But compared
to Lambda Prolog ordinary prolog is

more primitive and has primafacie some inference
rules missing, although a lot can be compensated by
meta interpreters, little theorem provers, little

new languages written in Prolog itself. But these little
tools might be impure. Some lamda Prolog through its
HOAS can enforce meta circular purity. Here I

totally agree that Prolog lacks this feature. But you cannot
add this feature by forbidding things as you do. Compared
to Lamda Prolog your approach of turding Prolog

by disrupting GitHub with crazy comments and
no contribution has zero impact on improving the
situation. Its just nonsense.

Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:01:29 UTC+2:
> In Lambda Prolog you could define a findall
> by accempting a higher order closure using
> some lambda binder, here I am using (\)/2 for
>
> this purpose. findall would only have arity 2:
>
> ?- findall(X\member(X, [1,4,2]), L).
> L = [1, 4, 2]
> ?- X = 3, findall(X\member(X, [1,4,2]), L).
> X = 3,
> L = [1, 4, 2]
> But you have to rethink your logic programming
> language from ground up. You might need a different
> read term, or some post processing of read term.
>
> Lambda Prolog does all that. But posting turds on GitHub
> does nothing. It only shows that you are ignorant about
> possible solutions that exist since Alonzo Church,
>
> https://en.m.wikipedia.org/wiki/Alonzo_Church
>
> The solutions are older than the 50 years of prolog.
> Mostowski Collapse schrieb am Dienstag, 12. Juli 2022 um 23:50:20 UTC+2:
> > Well the error is always the programmer, in this
> > case the programmer doesnt know that in Prolog
> > bound variables have to be „ purified“ i.e. given
> >
> > different names. For example spinning your nonsense
> > further far ahead, you could also demand to ban
> > findall from Prolog, because:
> >
> > ?- findall(X, member(X, [1,4,2], L).
> > L = [1, 4, 2]
> >
> > X is not instantiated in the answer, so by monotonicity,
> > we should be able to instantiate it, but it goes wrong:
> >
> > ?- X = 3, findall(X, member(X, [1,4,2], L).
> > fail
> >
> > Separating away variable names is bread and butter in
> > theorem proving. I dont think double_quotes chars value
> > is a contribution here, neither if_ etc.
> >
> > I dont find any proposal for an improvement either in
> > the new Prolog systems like Trealla, Scryer, etc..
> >
> > I only find turds on GitHub all over the place forbid
> > this forbid that despite there is not a single outcry
> > by other Prolog programmers that variable
> >
> > purification is not a body convesion step in ISO standard
> > Prolog. Write please an amendmend to the ISO standard
> > or define a new language with automatic variable
> >
> > separation and then we can talk again.
> >
> > P.S.: Lambda Prolog can do it. But you would write
> > findall invocation slightly differently.
> > Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> > > Mostowski Collapse <burs...@gmail.com> writes:
> > >
> > > > Which had these people behind it, potential users of it:
> > > However, not everyone in this list supports everything in the document.
> > > And the document is from 14 years ago: Back then, important constructs
> > > such as if_/3, tfilter/3 etc. were not even found, and the quest for
> > > better constructs was quite stalled. We can do better today than many of
> > > us thought possible in 2008, or even in 2016: For example, just in these
> > > last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> > > ichiban/prolog) where double_quotes is set to chars by default. Who
> > > thought that this was possible in 2008? I think even in 2012 or even
> > > later, implementors advocated for JavaScript-style "strings" in Prolog
> > > and even added them to their systems, until a new representation
> > > pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> > > probably likewise seemed necessary in 2008, but does it still seem so
> > > today? A better, not yet found construct, could likewise make it
> > > obsolete, just like JavaScript-style strings have now become obsolete..
> > > > Make a GitHub search, you find many places where it is used
> > > > by some Prolog programmer. Its kind of staple food.
> > > You will find a lot on GitHub, a lot of Java and C code too. It could
> > > make for an interesting analysis, however I find decisions based on such
> > > statistics subject to certain doubts: For example, is a construct that
> > > violates elementary logical properties good because it appears in a lot
> > > of programs? Or does this rather show that many programs could be
> > > improved by removing this construct entirely from the language?
> > >
> > > All the best,
> > > Markus
> > >
> > > --
> > > comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> > > The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:4452:b0:6b2:4f49:d053 with SMTP id w18-20020a05620a445200b006b24f49d053mr464075qkp.685.1657666967094;
Tue, 12 Jul 2022 16:02:47 -0700 (PDT)
X-Received: by 2002:a25:d7d6:0:b0:66e:47b3:35be with SMTP id
o205-20020a25d7d6000000b0066e47b335bemr750635ybg.140.1657666966799; Tue, 12
Jul 2022 16:02:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 16:02:46 -0700 (PDT)
In-Reply-To: <e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 23:02:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 169
 by: Mostowski Collapse - Tue, 12 Jul 2022 23:02 UTC

Also the uses of forall/2 have increased in the past.
Some people use it as a replacement for failure driven loop:

?- G, C, fail; true.

They write it as:

?- forall(G, C).

It has the advantage/disadvantage that it signals
failure of C. Which the failure driven loop does not do.
You find it in the wild here:

main :-
forall(number_fizzbuzz_below_100(_, FizzBuzz),
(write(FizzBuzz), write('\n'))).

https://github.com/triska/clpz/issues/12

Its from some of your users of Scryer Prolog
and some of your users of CLP(Z). So I guess
you dont know who your users are?

Good luck with that…
You are Genius like Putin.

Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:17:00 UTC+2:
> Corr.: Currently in Prolog we would have:
>
> ?- X = 3, findall(X, member(X, [1,4,2]), L).
> X = 3,
> L = []
>
> In as far forall/2 has a similar „problem“
> which is usually taken care by the programmer,
> similarly like the programmer watches
>
> that his findalls are purified according to the
> use case he has. Etc.. etc… But compared
> to Lambda Prolog ordinary prolog is
>
> more primitive and has primafacie some inference
> rules missing, although a lot can be compensated by
> meta interpreters, little theorem provers, little
>
> new languages written in Prolog itself. But these little
> tools might be impure. Some lamda Prolog through its
> HOAS can enforce meta circular purity. Here I
>
> totally agree that Prolog lacks this feature. But you cannot
> add this feature by forbidding things as you do. Compared
> to Lamda Prolog your approach of turding Prolog
>
> by disrupting GitHub with crazy comments and
> no contribution has zero impact on improving the
> situation. Its just nonsense.
> Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:01:29 UTC+2:
> > In Lambda Prolog you could define a findall
> > by accempting a higher order closure using
> > some lambda binder, here I am using (\)/2 for
> >
> > this purpose. findall would only have arity 2:
> >
> > ?- findall(X\member(X, [1,4,2]), L).
> > L = [1, 4, 2]
> > ?- X = 3, findall(X\member(X, [1,4,2]), L).
> > X = 3,
> > L = [1, 4, 2]
> > But you have to rethink your logic programming
> > language from ground up. You might need a different
> > read term, or some post processing of read term.
> >
> > Lambda Prolog does all that. But posting turds on GitHub
> > does nothing. It only shows that you are ignorant about
> > possible solutions that exist since Alonzo Church,
> >
> > https://en.m.wikipedia.org/wiki/Alonzo_Church
> >
> > The solutions are older than the 50 years of prolog.
> > Mostowski Collapse schrieb am Dienstag, 12. Juli 2022 um 23:50:20 UTC+2:
> > > Well the error is always the programmer, in this
> > > case the programmer doesnt know that in Prolog
> > > bound variables have to be „ purified“ i.e. given
> > >
> > > different names. For example spinning your nonsense
> > > further far ahead, you could also demand to ban
> > > findall from Prolog, because:
> > >
> > > ?- findall(X, member(X, [1,4,2], L).
> > > L = [1, 4, 2]
> > >
> > > X is not instantiated in the answer, so by monotonicity,
> > > we should be able to instantiate it, but it goes wrong:
> > >
> > > ?- X = 3, findall(X, member(X, [1,4,2], L).
> > > fail
> > >
> > > Separating away variable names is bread and butter in
> > > theorem proving. I dont think double_quotes chars value
> > > is a contribution here, neither if_ etc.
> > >
> > > I dont find any proposal for an improvement either in
> > > the new Prolog systems like Trealla, Scryer, etc..
> > >
> > > I only find turds on GitHub all over the place forbid
> > > this forbid that despite there is not a single outcry
> > > by other Prolog programmers that variable
> > >
> > > purification is not a body convesion step in ISO standard
> > > Prolog. Write please an amendmend to the ISO standard
> > > or define a new language with automatic variable
> > >
> > > separation and then we can talk again.
> > >
> > > P.S.: Lambda Prolog can do it. But you would write
> > > findall invocation slightly differently.
> > > Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> > > > Mostowski Collapse <burs...@gmail.com> writes:
> > > >
> > > > > Which had these people behind it, potential users of it:
> > > > However, not everyone in this list supports everything in the document.
> > > > And the document is from 14 years ago: Back then, important constructs
> > > > such as if_/3, tfilter/3 etc. were not even found, and the quest for
> > > > better constructs was quite stalled. We can do better today than many of
> > > > us thought possible in 2008, or even in 2016: For example, just in these
> > > > last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> > > > ichiban/prolog) where double_quotes is set to chars by default. Who
> > > > thought that this was possible in 2008? I think even in 2012 or even
> > > > later, implementors advocated for JavaScript-style "strings" in Prolog
> > > > and even added them to their systems, until a new representation
> > > > pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> > > > probably likewise seemed necessary in 2008, but does it still seem so
> > > > today? A better, not yet found construct, could likewise make it
> > > > obsolete, just like JavaScript-style strings have now become obsolete.
> > > > > Make a GitHub search, you find many places where it is used
> > > > > by some Prolog programmer. Its kind of staple food.
> > > > You will find a lot on GitHub, a lot of Java and C code too. It could
> > > > make for an interesting analysis, however I find decisions based on such
> > > > statistics subject to certain doubts: For example, is a construct that
> > > > violates elementary logical properties good because it appears in a lot
> > > > of programs? Or does this rather show that many programs could be
> > > > improved by removing this construct entirely from the language?
> > > >
> > > > All the best,
> > > > Markus
> > > >
> > > > --
> > > > comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> > > > The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:189d:b0:31e:a89b:99fd with SMTP id v29-20020a05622a189d00b0031ea89b99fdmr434041qtc.638.1657668146096;
Tue, 12 Jul 2022 16:22:26 -0700 (PDT)
X-Received: by 2002:a81:13d7:0:b0:31c:c22b:4727 with SMTP id
206-20020a8113d7000000b0031cc22b4727mr962299ywt.38.1657668145857; Tue, 12 Jul
2022 16:22:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 16:22:25 -0700 (PDT)
In-Reply-To: <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 23:22:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 211
 by: Mostowski Collapse - Tue, 12 Jul 2022 23:22 UTC

Also there are quite capable people in the SWI Prolog
discourse group, that where discussing forall/2
versus foreach/2, repeatedly showing some

deep understanding of the constructs, which I find
lacking if somebody critizises the construct based
on a usage error in the form

of lack of purification. That paints one into a corner
of not understanding the construct at all. Last but
not least s(CASP) starting with s(ASP),

have also found uses for some forms of forall/2.
Just read the papers follow the forums and
inspect the systems. forall/2 has

come to amazing new life. forall is also
not the worst name of the predicate, since it can
provide the so called bounded universal quantifier,

under certain circumstances you can tranlate it
(this is left as an exercise):

ALL(x):[A => B]

But I have recently started calling it Peano
implication, since Giuseppe Peano used the
following notation for it:

A =>x B

putting more emphasis on the underlying
implication than on the universally
bound variable.

Have Fun!

Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 01:02:47 UTC+2:
> Also the uses of forall/2 have increased in the past.
> Some people use it as a replacement for failure driven loop:
>
> ?- G, C, fail; true.
>
> They write it as:
>
> ?- forall(G, C).
>
> It has the advantage/disadvantage that it signals
> failure of C. Which the failure driven loop does not do.
> You find it in the wild here:
>
> main :-
> forall(number_fizzbuzz_below_100(_, FizzBuzz),
> (write(FizzBuzz), write('\n'))).
>
> https://github.com/triska/clpz/issues/12
>
> Its from some of your users of Scryer Prolog
> and some of your users of CLP(Z). So I guess
> you dont know who your users are?
>
> Good luck with that…
> You are Genius like Putin.
> Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:17:00 UTC+2:
> > Corr.: Currently in Prolog we would have:
> >
> > ?- X = 3, findall(X, member(X, [1,4,2]), L).
> > X = 3,
> > L = []
> >
> > In as far forall/2 has a similar „problem“
> > which is usually taken care by the programmer,
> > similarly like the programmer watches
> >
> > that his findalls are purified according to the
> > use case he has. Etc.. etc… But compared
> > to Lambda Prolog ordinary prolog is
> >
> > more primitive and has primafacie some inference
> > rules missing, although a lot can be compensated by
> > meta interpreters, little theorem provers, little
> >
> > new languages written in Prolog itself. But these little
> > tools might be impure. Some lamda Prolog through its
> > HOAS can enforce meta circular purity. Here I
> >
> > totally agree that Prolog lacks this feature. But you cannot
> > add this feature by forbidding things as you do. Compared
> > to Lamda Prolog your approach of turding Prolog
> >
> > by disrupting GitHub with crazy comments and
> > no contribution has zero impact on improving the
> > situation. Its just nonsense.
> > Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:01:29 UTC+2:
> > > In Lambda Prolog you could define a findall
> > > by accempting a higher order closure using
> > > some lambda binder, here I am using (\)/2 for
> > >
> > > this purpose. findall would only have arity 2:
> > >
> > > ?- findall(X\member(X, [1,4,2]), L).
> > > L = [1, 4, 2]
> > > ?- X = 3, findall(X\member(X, [1,4,2]), L).
> > > X = 3,
> > > L = [1, 4, 2]
> > > But you have to rethink your logic programming
> > > language from ground up. You might need a different
> > > read term, or some post processing of read term.
> > >
> > > Lambda Prolog does all that. But posting turds on GitHub
> > > does nothing. It only shows that you are ignorant about
> > > possible solutions that exist since Alonzo Church,
> > >
> > > https://en.m.wikipedia.org/wiki/Alonzo_Church
> > >
> > > The solutions are older than the 50 years of prolog.
> > > Mostowski Collapse schrieb am Dienstag, 12. Juli 2022 um 23:50:20 UTC+2:
> > > > Well the error is always the programmer, in this
> > > > case the programmer doesnt know that in Prolog
> > > > bound variables have to be „ purified“ i.e. given
> > > >
> > > > different names. For example spinning your nonsense
> > > > further far ahead, you could also demand to ban
> > > > findall from Prolog, because:
> > > >
> > > > ?- findall(X, member(X, [1,4,2], L).
> > > > L = [1, 4, 2]
> > > >
> > > > X is not instantiated in the answer, so by monotonicity,
> > > > we should be able to instantiate it, but it goes wrong:
> > > >
> > > > ?- X = 3, findall(X, member(X, [1,4,2], L).
> > > > fail
> > > >
> > > > Separating away variable names is bread and butter in
> > > > theorem proving. I dont think double_quotes chars value
> > > > is a contribution here, neither if_ etc.
> > > >
> > > > I dont find any proposal for an improvement either in
> > > > the new Prolog systems like Trealla, Scryer, etc..
> > > >
> > > > I only find turds on GitHub all over the place forbid
> > > > this forbid that despite there is not a single outcry
> > > > by other Prolog programmers that variable
> > > >
> > > > purification is not a body convesion step in ISO standard
> > > > Prolog. Write please an amendmend to the ISO standard
> > > > or define a new language with automatic variable
> > > >
> > > > separation and then we can talk again.
> > > >
> > > > P.S.: Lambda Prolog can do it. But you would write
> > > > findall invocation slightly differently.
> > > > Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> > > > > Mostowski Collapse <burs...@gmail.com> writes:
> > > > >
> > > > > > Which had these people behind it, potential users of it:
> > > > > However, not everyone in this list supports everything in the document.
> > > > > And the document is from 14 years ago: Back then, important constructs
> > > > > such as if_/3, tfilter/3 etc. were not even found, and the quest for
> > > > > better constructs was quite stalled. We can do better today than many of
> > > > > us thought possible in 2008, or even in 2016: For example, just in these
> > > > > last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> > > > > ichiban/prolog) where double_quotes is set to chars by default. Who
> > > > > thought that this was possible in 2008? I think even in 2012 or even
> > > > > later, implementors advocated for JavaScript-style "strings" in Prolog
> > > > > and even added them to their systems, until a new representation
> > > > > pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> > > > > probably likewise seemed necessary in 2008, but does it still seem so
> > > > > today? A better, not yet found construct, could likewise make it
> > > > > obsolete, just like JavaScript-style strings have now become obsolete.
> > > > > > Make a GitHub search, you find many places where it is used
> > > > > > by some Prolog programmer. Its kind of staple food.
> > > > > You will find a lot on GitHub, a lot of Java and C code too. It could
> > > > > make for an interesting analysis, however I find decisions based on such
> > > > > statistics subject to certain doubts: For example, is a construct that
> > > > > violates elementary logical properties good because it appears in a lot
> > > > > of programs? Or does this rather show that many programs could be
> > > > > improved by removing this construct entirely from the language?
> > > > >
> > > > > All the best,
> > > > > Markus
> > > > >
> > > > > --
> > > > > comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> > > > > The Power of Prolog: https://www.metalevel.at/prolog

Re: 50 Years of Prolog Nonsense

<9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:62a:b0:472:eac1:7565 with SMTP id a10-20020a056214062a00b00472eac17565mr616130qvx.71.1657668777259;
Tue, 12 Jul 2022 16:32:57 -0700 (PDT)
X-Received: by 2002:a05:6902:1143:b0:66e:eb08:4c23 with SMTP id
p3-20020a056902114300b0066eeb084c23mr871414ybu.570.1657668776948; Tue, 12 Jul
2022 16:32:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Tue, 12 Jul 2022 16:32:56 -0700 (PDT)
In-Reply-To: <922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Tue, 12 Jul 2022 23:32:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 227
 by: Mostowski Collapse - Tue, 12 Jul 2022 23:32 UTC

Peanos conditional made it
even into the Principia Mathematica:

Before we look at a wider range of examples, a detailed
example involving quantified variables will prove to be
instructive. Whitehead and Russell follow Peano’s

practice of expressing universally quantified conditionals
(such as “All ps are qs”) with the bound variable
subscripted under the conditional sign.

https://plato.stanford.edu/entries/pm-notation/#Exam

Lets make Peano great again!

Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 01:22:27 UTC+2:
> Also there are quite capable people in the SWI Prolog
> discourse group, that where discussing forall/2
> versus foreach/2, repeatedly showing some
>
> deep understanding of the constructs, which I find
> lacking if somebody critizises the construct based
> on a usage error in the form
>
> of lack of purification. That paints one into a corner
> of not understanding the construct at all. Last but
> not least s(CASP) starting with s(ASP),
>
> have also found uses for some forms of forall/2.
> Just read the papers follow the forums and
> inspect the systems. forall/2 has
>
> come to amazing new life. forall is also
> not the worst name of the predicate, since it can
> provide the so called bounded universal quantifier,
>
> under certain circumstances you can tranlate it
> (this is left as an exercise):
>
> ALL(x):[A => B]
>
> But I have recently started calling it Peano
> implication, since Giuseppe Peano used the
> following notation for it:
>
> A =>x B
>
> putting more emphasis on the underlying
> implication than on the universally
> bound variable.
>
> Have Fun!
> Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 01:02:47 UTC+2:
> > Also the uses of forall/2 have increased in the past.
> > Some people use it as a replacement for failure driven loop:
> >
> > ?- G, C, fail; true.
> >
> > They write it as:
> >
> > ?- forall(G, C).
> >
> > It has the advantage/disadvantage that it signals
> > failure of C. Which the failure driven loop does not do.
> > You find it in the wild here:
> >
> > main :-
> > forall(number_fizzbuzz_below_100(_, FizzBuzz),
> > (write(FizzBuzz), write('\n'))).
> >
> > https://github.com/triska/clpz/issues/12
> >
> > Its from some of your users of Scryer Prolog
> > and some of your users of CLP(Z). So I guess
> > you dont know who your users are?
> >
> > Good luck with that…
> > You are Genius like Putin.
> > Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:17:00 UTC+2:
> > > Corr.: Currently in Prolog we would have:
> > >
> > > ?- X = 3, findall(X, member(X, [1,4,2]), L).
> > > X = 3,
> > > L = []
> > >
> > > In as far forall/2 has a similar „problem“
> > > which is usually taken care by the programmer,
> > > similarly like the programmer watches
> > >
> > > that his findalls are purified according to the
> > > use case he has. Etc.. etc… But compared
> > > to Lambda Prolog ordinary prolog is
> > >
> > > more primitive and has primafacie some inference
> > > rules missing, although a lot can be compensated by
> > > meta interpreters, little theorem provers, little
> > >
> > > new languages written in Prolog itself. But these little
> > > tools might be impure. Some lamda Prolog through its
> > > HOAS can enforce meta circular purity. Here I
> > >
> > > totally agree that Prolog lacks this feature. But you cannot
> > > add this feature by forbidding things as you do. Compared
> > > to Lamda Prolog your approach of turding Prolog
> > >
> > > by disrupting GitHub with crazy comments and
> > > no contribution has zero impact on improving the
> > > situation. Its just nonsense.
> > > Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 00:01:29 UTC+2:
> > > > In Lambda Prolog you could define a findall
> > > > by accempting a higher order closure using
> > > > some lambda binder, here I am using (\)/2 for
> > > >
> > > > this purpose. findall would only have arity 2:
> > > >
> > > > ?- findall(X\member(X, [1,4,2]), L).
> > > > L = [1, 4, 2]
> > > > ?- X = 3, findall(X\member(X, [1,4,2]), L).
> > > > X = 3,
> > > > L = [1, 4, 2]
> > > > But you have to rethink your logic programming
> > > > language from ground up. You might need a different
> > > > read term, or some post processing of read term.
> > > >
> > > > Lambda Prolog does all that. But posting turds on GitHub
> > > > does nothing. It only shows that you are ignorant about
> > > > possible solutions that exist since Alonzo Church,
> > > >
> > > > https://en.m.wikipedia.org/wiki/Alonzo_Church
> > > >
> > > > The solutions are older than the 50 years of prolog.
> > > > Mostowski Collapse schrieb am Dienstag, 12. Juli 2022 um 23:50:20 UTC+2:
> > > > > Well the error is always the programmer, in this
> > > > > case the programmer doesnt know that in Prolog
> > > > > bound variables have to be „ purified“ i.e. given
> > > > >
> > > > > different names. For example spinning your nonsense
> > > > > further far ahead, you could also demand to ban
> > > > > findall from Prolog, because:
> > > > >
> > > > > ?- findall(X, member(X, [1,4,2], L).
> > > > > L = [1, 4, 2]
> > > > >
> > > > > X is not instantiated in the answer, so by monotonicity,
> > > > > we should be able to instantiate it, but it goes wrong:
> > > > >
> > > > > ?- X = 3, findall(X, member(X, [1,4,2], L).
> > > > > fail
> > > > >
> > > > > Separating away variable names is bread and butter in
> > > > > theorem proving. I dont think double_quotes chars value
> > > > > is a contribution here, neither if_ etc.
> > > > >
> > > > > I dont find any proposal for an improvement either in
> > > > > the new Prolog systems like Trealla, Scryer, etc..
> > > > >
> > > > > I only find turds on GitHub all over the place forbid
> > > > > this forbid that despite there is not a single outcry
> > > > > by other Prolog programmers that variable
> > > > >
> > > > > purification is not a body convesion step in ISO standard
> > > > > Prolog. Write please an amendmend to the ISO standard
> > > > > or define a new language with automatic variable
> > > > >
> > > > > separation and then we can talk again.
> > > > >
> > > > > P.S.: Lambda Prolog can do it. But you would write
> > > > > findall invocation slightly differently.
> > > > > Markus Triska schrieb am Dienstag, 12. Juli 2022 um 19:21:23 UTC+2:
> > > > > > Mostowski Collapse <burs...@gmail.com> writes:
> > > > > >
> > > > > > > Which had these people behind it, potential users of it:
> > > > > > However, not everyone in this list supports everything in the document.
> > > > > > And the document is from 14 years ago: Back then, important constructs
> > > > > > such as if_/3, tfilter/3 etc. were not even found, and the quest for
> > > > > > better constructs was quite stalled. We can do better today than many of
> > > > > > us thought possible in 2008, or even in 2016: For example, just in these
> > > > > > last 6 years, we got 4 new Prolog systems (Scryer, Trealla, Tau and
> > > > > > ichiban/prolog) where double_quotes is set to chars by default. Who
> > > > > > thought that this was possible in 2008? I think even in 2012 or even
> > > > > > later, implementors advocated for JavaScript-style "strings" in Prolog
> > > > > > and even added them to their systems, until a new representation
> > > > > > pioneered by Scryer Prolog made chars viable in newer systems. forall/2
> > > > > > probably likewise seemed necessary in 2008, but does it still seem so
> > > > > > today? A better, not yet found construct, could likewise make it
> > > > > > obsolete, just like JavaScript-style strings have now become obsolete.
> > > > > > > Make a GitHub search, you find many places where it is used
> > > > > > > by some Prolog programmer. Its kind of staple food.
> > > > > > You will find a lot on GitHub, a lot of Java and C code too. It could
> > > > > > make for an interesting analysis, however I find decisions based on such
> > > > > > statistics subject to certain doubts: For example, is a construct that
> > > > > > violates elementary logical properties good because it appears in a lot
> > > > > > of programs? Or does this rather show that many programs could be
> > > > > > improved by removing this construct entirely from the language?
> > > > > >
> > > > > > All the best,
> > > > > > Markus
> > > > > >
> > > > > > --
> > > > > > comp.lang.prolog FAQ: http://www.logic.at/prolog/faq/
> > > > > > The Power of Prolog: https://www.metalevel.at/prolog


Click here to read the complete article
Re: 50 Years of Prolog Nonsense

<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a37:8904:0:b0:6af:199b:bcb with SMTP id l4-20020a378904000000b006af199b0bcbmr2451538qkd.462.1657721328814;
Wed, 13 Jul 2022 07:08:48 -0700 (PDT)
X-Received: by 2002:a05:6902:4d0:b0:66e:4fef:cc3f with SMTP id
v16-20020a05690204d000b0066e4fefcc3fmr3712872ybs.20.1657721328454; Wed, 13
Jul 2022 07:08:48 -0700 (PDT)
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.prolog
Date: Wed, 13 Jul 2022 07:08:48 -0700 (PDT)
In-Reply-To: <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Wed, 13 Jul 2022 14:08:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3552
 by: Mostowski Collapse - Wed, 13 Jul 2022 14:08 UTC

Small addendum. In certain situations (\+ A) acts
as ¬A, but in other situations it can also act as
¬∃x1..,∃xnA for some variables x1,..,xn.

Same for forall/2, in certain situations forall(A,B)
acts as A → B, but it can also act as ∀x1..,∀xn(A →
∃y1..∃ymB). So its more complicated than only

forall quantifier, its forall quantifier implication
existential quantifier. But when is it Peano implication?
Well, for example if the second formula, i.e. B is

ground negation, if during execution, from the
bindings after A the currently invoked B is already
ground. The the result of forall/2 is not this:

∀x1..,∀xn(A → ∃y1..∃ymB)

But only this:

∀x1..,∀xn(A → B)

Mostowski Collapse schrieb am Mittwoch, 13. Juli 2022 um 01:32:58 UTC+2:
> Peanos conditional made it
> even into the Principia Mathematica:
>
> Before we look at a wider range of examples, a detailed
> example involving quantified variables will prove to be
> instructive. Whitehead and Russell follow Peano’s
>
> practice of expressing universally quantified conditionals
> (such as “All ps are qs”) with the bound variable
> subscripted under the conditional sign.
>
> https://plato.stanford.edu/entries/pm-notation/#Exam
>
> Lets make Peano great again!

Re: 50 Years of Prolog Nonsense

<776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:7d0f:0:b0:342:a694:c961 with SMTP id g15-20020ac87d0f000000b00342a694c961mr959319qtb.538.1659661096927;
Thu, 04 Aug 2022 17:58:16 -0700 (PDT)
X-Received: by 2002:a81:5d06:0:b0:31e:3b24:4a86 with SMTP id
r6-20020a815d06000000b0031e3b244a86mr3942037ywb.245.1659661096625; Thu, 04
Aug 2022 17:58:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Thu, 4 Aug 2022 17:58:16 -0700 (PDT)
In-Reply-To: <db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 00:58:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 20
 by: Mostowski Collapse - Fri, 5 Aug 2022 00:58 UTC

Ciao Prologs “State of the Art” is rather the
night mare of “The Art of loosing State”.

?- assertz(foo).
yes

?- foo.
yes

?- repeat, fail.
{ Execution aborted }

?- foo.
{ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
aborted

https://ciao-lang.org/playground/

I hope SWI-Prolog will not blindly immitate
every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:144f:b0:341:728:dee with SMTP id v15-20020a05622a144f00b0034107280deemr3807285qtx.459.1659661275376;
Thu, 04 Aug 2022 18:01:15 -0700 (PDT)
X-Received: by 2002:a0d:d9c7:0:b0:324:6979:1606 with SMTP id
b190-20020a0dd9c7000000b0032469791606mr4057042ywe.69.1659661274985; Thu, 04
Aug 2022 18:01:14 -0700 (PDT)
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.prolog
Date: Thu, 4 Aug 2022 18:01:14 -0700 (PDT)
In-Reply-To: <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 01:01:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3297
 by: Mostowski Collapse - Fri, 5 Aug 2022 01:01 UTC

Workers do still synchronously process message
they receive. As a result Ciao cannot send an “abort”
control to a worker, since Ciao Prolog itself inside

the worker is not asyncified. As a result I see one
Worker going down and another Worker comming
up, when I press Abort button in Ciao, and the

dynamic database state is gone. Bye Bye.

BTW: As soon as you have asyncified your Prolog
interpreter, you don't need the single worker anymore.

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 02:58:17 UTC+2:
> Ciao Prologs “State of the Art” is rather the
> night mare of “The Art of loosing State”.
>
> ?- assertz(foo).
> yes
>
> ?- foo.
> yes
>
> ?- repeat, fail.
> { Execution aborted }
>
> ?- foo.
> {ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
> aborted
>
> https://ciao-lang.org/playground/
>
> I hope SWI-Prolog will not blindly immitate
> every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ad4:5c8c:0:b0:477:d19:1a44 with SMTP id o12-20020ad45c8c000000b004770d191a44mr4745267qvh.15.1659687408296;
Fri, 05 Aug 2022 01:16:48 -0700 (PDT)
X-Received: by 2002:a25:9885:0:b0:677:36f3:7431 with SMTP id
l5-20020a259885000000b0067736f37431mr4144303ybo.281.1659687407872; Fri, 05
Aug 2022 01:16:47 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 01:16:47 -0700 (PDT)
In-Reply-To: <98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 08:16:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5083
 by: Mostowski Collapse - Fri, 5 Aug 2022 08:16 UTC

Question was, what means syncify?

It means that you turn your Prolog interpreter into an Engine
that can yield, but that you also have some auto-yielding.
So that the the browser or node.exe can process operating

system tasks while the Prolog system is running. Basically the
JavaScript async/await is an extended iterator code rewriting
of a form of yield, which yields promises. If you take this path

you would also need to extended the engine concept so that
you can voluntarily yield promises, like for example for a fetch.
In such a scenario the Prolog system might appear to block,

this is the other illusion the asyncification can create. Basically
you can create the following illusions by asyncification
without the need of a pre-emptive scheduler:

- Non-blocking parallelism between Prolog system and operating system
- Blocking wait for completion of some operating system tasks

Optionally you can also use it for multiple Prolog threads, but
I don’t see a point in doing this. So I branded this “misuse”.
But you could do this as well and it has certainly some use

cases if the multiple Prolog threads do a lot of operating
system tasks. But it is missing in the above list for the moment,
so conceptionally there are only “two” co-routines the single

threaded Prolog system and the operating system tasks event
loop provided by the browser or node.exe. In the same way its
possible to make a Python variant of such an engine.

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 03:01:16 UTC+2:
> Workers do still synchronously process message
> they receive. As a result Ciao cannot send an “abort”
> control to a worker, since Ciao Prolog itself inside
>
> the worker is not asyncified. As a result I see one
> Worker going down and another Worker comming
> up, when I press Abort button in Ciao, and the
>
> dynamic database state is gone. Bye Bye.
>
> BTW: As soon as you have asyncified your Prolog
> interpreter, you don't need the single worker anymore.
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 02:58:17 UTC+2:
> > Ciao Prologs “State of the Art” is rather the
> > night mare of “The Art of loosing State”.
> >
> > ?- assertz(foo).
> > yes
> >
> > ?- foo.
> > yes
> >
> > ?- repeat, fail.
> > { Execution aborted }
> >
> > ?- foo.
> > {ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
> > aborted
> >
> > https://ciao-lang.org/playground/
> >
> > I hope SWI-Prolog will not blindly immitate
> > every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ae9:e702:0:b0:6b5:9c37:8b23 with SMTP id m2-20020ae9e702000000b006b59c378b23mr4324905qka.511.1659687586068;
Fri, 05 Aug 2022 01:19:46 -0700 (PDT)
X-Received: by 2002:a25:b9c3:0:b0:668:a418:13c with SMTP id
y3-20020a25b9c3000000b00668a418013cmr4177896ybj.498.1659687585686; Fri, 05
Aug 2022 01:19:45 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 01:19:45 -0700 (PDT)
In-Reply-To: <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 08:19:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6606
 by: Mostowski Collapse - Fri, 5 Aug 2022 08:19 UTC

It was two questions already, or a different question altogether,
namely asking for WASM as well.

Disclaimer: Oh my, I invented the word “asyncify” spontanously
yesterday. But it has also some meaning in relation to WASM.
My previous portraying is from experience with CheerpJ, Tau-

Prolog and Dogelog, and only CheerpJ has WASM (the recent
version using 64-bit). Maybe for more WASM specific questions
you need to consult other source, I find for example:

https://web.dev/asyncify/

Possibly when the above community is talking about asyncification
it has a total different meaning then what I described. Attention! Attention!

Also CheerpJ comes without auto-yielding. You can add it
yourself, by calling Java Thread.yield(), it was an undocumented
feature of CheerpJ. But in CheerpJ I could not yield promises so

easily, maybe there is an exotic Java API, and then there
is a danger that CheerpJ doesn’t support it, since it is rather
tailord towards bringing some convetional Swing/Standalone

applications to the web, so this is a specific new feature of the
Dogelog engine, breaking out of a particular Java world.

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 10:16:49 UTC+2:
> Question was, what means syncify?
>
> It means that you turn your Prolog interpreter into an Engine
> that can yield, but that you also have some auto-yielding.
> So that the the browser or node.exe can process operating
>
> system tasks while the Prolog system is running. Basically the
> JavaScript async/await is an extended iterator code rewriting
> of a form of yield, which yields promises. If you take this path
>
> you would also need to extended the engine concept so that
> you can voluntarily yield promises, like for example for a fetch.
> In such a scenario the Prolog system might appear to block,
>
> this is the other illusion the asyncification can create. Basically
> you can create the following illusions by asyncification
> without the need of a pre-emptive scheduler:
>
> - Non-blocking parallelism between Prolog system and operating system
> - Blocking wait for completion of some operating system tasks
>
> Optionally you can also use it for multiple Prolog threads, but
> I don’t see a point in doing this. So I branded this “misuse”.
> But you could do this as well and it has certainly some use
>
> cases if the multiple Prolog threads do a lot of operating
> system tasks. But it is missing in the above list for the moment,
> so conceptionally there are only “two” co-routines the single
>
> threaded Prolog system and the operating system tasks event
> loop provided by the browser or node.exe. In the same way its
> possible to make a Python variant of such an engine.
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 03:01:16 UTC+2:
> > Workers do still synchronously process message
> > they receive. As a result Ciao cannot send an “abort”
> > control to a worker, since Ciao Prolog itself inside
> >
> > the worker is not asyncified. As a result I see one
> > Worker going down and another Worker comming
> > up, when I press Abort button in Ciao, and the
> >
> > dynamic database state is gone. Bye Bye.
> >
> > BTW: As soon as you have asyncified your Prolog
> > interpreter, you don't need the single worker anymore.
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 02:58:17 UTC+2:
> > > Ciao Prologs “State of the Art” is rather the
> > > night mare of “The Art of loosing State”.
> > >
> > > ?- assertz(foo).
> > > yes
> > >
> > > ?- foo.
> > > yes
> > >
> > > ?- repeat, fail.
> > > { Execution aborted }
> > >
> > > ?- foo.
> > > {ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
> > > aborted
> > >
> > > https://ciao-lang.org/playground/
> > >
> > > I hope SWI-Prolog will not blindly immitate
> > > every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:f13:b0:6b5:b956:c1f1 with SMTP id v19-20020a05620a0f1300b006b5b956c1f1mr4658781qkl.691.1659697649037;
Fri, 05 Aug 2022 04:07:29 -0700 (PDT)
X-Received: by 2002:a81:5d41:0:b0:31d:d394:d6e2 with SMTP id
r62-20020a815d41000000b0031dd394d6e2mr5310212ywb.466.1659697648679; Fri, 05
Aug 2022 04:07:28 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 04:07:28 -0700 (PDT)
In-Reply-To: <6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 11:07:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 7537
 by: Mostowski Collapse - Fri, 5 Aug 2022 11:07 UTC

Thanks to my testing sixth sense, the first Ciao Playground issue:
https://github.com/ciao-lang/ciao_playground/issues/1

I hope its not ending like Scryer Prolog, which has a wooping
223 open tickets, tendency is not yet that the number of open
tickets goes down.

My favorite formula for such an explosion of tickets is:

The Ticket Backlog Curve
https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3

So an initial explosion of tickets is linearly reduced.
Where in this curve is Scryer Prolog right now?

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 10:19:46 UTC+2:
> It was two questions already, or a different question altogether,
> namely asking for WASM as well.
>
> Disclaimer: Oh my, I invented the word “asyncify” spontanously
> yesterday. But it has also some meaning in relation to WASM.
> My previous portraying is from experience with CheerpJ, Tau-
>
> Prolog and Dogelog, and only CheerpJ has WASM (the recent
> version using 64-bit). Maybe for more WASM specific questions
> you need to consult other source, I find for example:
>
> https://web.dev/asyncify/
>
> Possibly when the above community is talking about asyncification
> it has a total different meaning then what I described. Attention! Attention!
>
> Also CheerpJ comes without auto-yielding. You can add it
> yourself, by calling Java Thread.yield(), it was an undocumented
> feature of CheerpJ. But in CheerpJ I could not yield promises so
>
> easily, maybe there is an exotic Java API, and then there
> is a danger that CheerpJ doesn’t support it, since it is rather
> tailord towards bringing some convetional Swing/Standalone
>
> applications to the web, so this is a specific new feature of the
> Dogelog engine, breaking out of a particular Java world.
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 10:16:49 UTC+2:
> > Question was, what means syncify?
> >
> > It means that you turn your Prolog interpreter into an Engine
> > that can yield, but that you also have some auto-yielding.
> > So that the the browser or node.exe can process operating
> >
> > system tasks while the Prolog system is running. Basically the
> > JavaScript async/await is an extended iterator code rewriting
> > of a form of yield, which yields promises. If you take this path
> >
> > you would also need to extended the engine concept so that
> > you can voluntarily yield promises, like for example for a fetch.
> > In such a scenario the Prolog system might appear to block,
> >
> > this is the other illusion the asyncification can create. Basically
> > you can create the following illusions by asyncification
> > without the need of a pre-emptive scheduler:
> >
> > - Non-blocking parallelism between Prolog system and operating system
> > - Blocking wait for completion of some operating system tasks
> >
> > Optionally you can also use it for multiple Prolog threads, but
> > I don’t see a point in doing this. So I branded this “misuse”.
> > But you could do this as well and it has certainly some use
> >
> > cases if the multiple Prolog threads do a lot of operating
> > system tasks. But it is missing in the above list for the moment,
> > so conceptionally there are only “two” co-routines the single
> >
> > threaded Prolog system and the operating system tasks event
> > loop provided by the browser or node.exe. In the same way its
> > possible to make a Python variant of such an engine.
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 03:01:16 UTC+2:
> > > Workers do still synchronously process message
> > > they receive. As a result Ciao cannot send an “abort”
> > > control to a worker, since Ciao Prolog itself inside
> > >
> > > the worker is not asyncified. As a result I see one
> > > Worker going down and another Worker comming
> > > up, when I press Abort button in Ciao, and the
> > >
> > > dynamic database state is gone. Bye Bye.
> > >
> > > BTW: As soon as you have asyncified your Prolog
> > > interpreter, you don't need the single worker anymore.
> > > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 02:58:17 UTC+2:
> > > > Ciao Prologs “State of the Art” is rather the
> > > > night mare of “The Art of loosing State”.
> > > >
> > > > ?- assertz(foo).
> > > > yes
> > > >
> > > > ?- foo.
> > > > yes
> > > >
> > > > ?- repeat, fail.
> > > > { Execution aborted }
> > > >
> > > > ?- foo.
> > > > {ERROR: No handle found for thrown exception error(existence_error(procedure,'user:foo'/0),'user:foo'/0)}
> > > > aborted
> > > >
> > > > https://ciao-lang.org/playground/
> > > >
> > > > I hope SWI-Prolog will not blindly immitate
> > > > every nonsense from Ciao Prolog.

Re: 50 Years of Prolog Nonsense

<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:1cc9:b0:473:2f6:22f8 with SMTP id g9-20020a0562141cc900b0047302f622f8mr5153756qvd.22.1659698736983;
Fri, 05 Aug 2022 04:25:36 -0700 (PDT)
X-Received: by 2002:a81:be08:0:b0:328:3010:9cd4 with SMTP id
i8-20020a81be08000000b0032830109cd4mr5611348ywn.38.1659698736733; Fri, 05 Aug
2022 04:25:36 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 04:25:36 -0700 (PDT)
In-Reply-To: <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 11:25:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3626
 by: Mostowski Collapse - Fri, 5 Aug 2022 11:25 UTC

Many WASM projects now coming out of the closet. My expectation,
this is only a win win situation in the long run, but it might be
painful at the beginning.

For a stealth project, which wasn’t on GitHub from the beginning,
and which has some non-public tickets somewhere, its more
difficult to estimate the current standing from the outside.

For Scryer Prolog the struggle is minutely documented:

Compiling and running scryer as a WebAssembly binary?
https://github.com/mthom/scryer-prolog/issues/615

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> Thanks to my testing sixth sense, the first Ciao Playground issue:
> https://github.com/ciao-lang/ciao_playground/issues/1
>
> I hope its not ending like Scryer Prolog, which has a wooping
> 223 open tickets, tendency is not yet that the number of open
> tickets goes down.
>
> My favorite formula for such an explosion of tickets is:
>
> The Ticket Backlog Curve
> https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
>
> So an initial explosion of tickets is linearly reduced.
> Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:1448:b0:341:e523:fd18 with SMTP id v8-20020a05622a144800b00341e523fd18mr5907894qtx.338.1659711365722;
Fri, 05 Aug 2022 07:56:05 -0700 (PDT)
X-Received: by 2002:a25:db50:0:b0:671:75aa:bf47 with SMTP id
g77-20020a25db50000000b0067175aabf47mr5213195ybf.20.1659711365447; Fri, 05
Aug 2022 07:56:05 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 07:56:05 -0700 (PDT)
In-Reply-To: <ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 14:56:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4711
 by: Mostowski Collapse - Fri, 5 Aug 2022 14:56 UTC

How it started:

Somebody wrote yesterday:
"For anyone finding this project interesting, we kindly as
everyone to try and explore our system, file issue reports,
contribute, and of course star our repository :wink: .

BTW, this reminds me that it is really a pity that we do
not have a common Prolog forum to discuss, like in the old days.
Newsgroups do not work, and a “single system”

discourse group is not a solution."

How its going:

A few hours ago, when starting to make visible some
limitations, everything diverted in a blink from “hello
community” to “bilateralism”.

Somebody wrote today:
"I’m happy to have a discussion on exchanging code and
ideas between our projects. I think a telco is a better medium
for that than here. Just drop me a personal message."

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> Many WASM projects now coming out of the closet. My expectation,
> this is only a win win situation in the long run, but it might be
> painful at the beginning.
>
> For a stealth project, which wasn’t on GitHub from the beginning,
> and which has some non-public tickets somewhere, its more
> difficult to estimate the current standing from the outside.
>
> For Scryer Prolog the struggle is minutely documented:
>
> Compiling and running scryer as a WebAssembly binary?
> https://github.com/mthom/scryer-prolog/issues/615
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > https://github.com/ciao-lang/ciao_playground/issues/1
> >
> > I hope its not ending like Scryer Prolog, which has a wooping
> > 223 open tickets, tendency is not yet that the number of open
> > tickets goes down.
> >
> > My favorite formula for such an explosion of tickets is:
> >
> > The Ticket Backlog Curve
> > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> >
> > So an initial explosion of tickets is linearly reduced.
> > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ae9:e102:0:b0:6b8:f8e6:7f8d with SMTP id g2-20020ae9e102000000b006b8f8e67f8dmr5092381qkm.139.1659711416755;
Fri, 05 Aug 2022 07:56:56 -0700 (PDT)
X-Received: by 2002:a25:d648:0:b0:676:bf85:d3a9 with SMTP id
n69-20020a25d648000000b00676bf85d3a9mr5638215ybg.538.1659711416478; Fri, 05
Aug 2022 07:56:56 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 07:56:56 -0700 (PDT)
In-Reply-To: <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 14:56:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5620
 by: Mostowski Collapse - Fri, 5 Aug 2022 14:56 UTC

Anyway, I have an admin questions, so playground tickets
don’t go into the Ciao Playground repo but into the Ciao repo?
Historically Bilateralism does not have a good Reputation

"The first rejection of bilateralism came after the First World War
when many politicians concluded that the complex pre-war
system of bilateral treaties had made war inevitable."
https://en.wikipedia.org/wiki/Bilateralism#History

So we might see some Prolog Web API wars in the near future?
Because of some coalition formation between SWI-Prolog and
Ciao Prolog? And then them against the rest of the Prolog world?

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:06 UTC+2:
> How it started:
>
> Somebody wrote yesterday:
> "For anyone finding this project interesting, we kindly as
> everyone to try and explore our system, file issue reports,
> contribute, and of course star our repository :wink: .
>
> BTW, this reminds me that it is really a pity that we do
> not have a common Prolog forum to discuss, like in the old days.
> Newsgroups do not work, and a “single system”
>
> discourse group is not a solution."
>
> How its going:
>
> A few hours ago, when starting to make visible some
> limitations, everything diverted in a blink from “hello
> community” to “bilateralism”.
>
> Somebody wrote today:
> "I’m happy to have a discussion on exchanging code and
> ideas between our projects. I think a telco is a better medium
> for that than here. Just drop me a personal message."
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> > Many WASM projects now coming out of the closet. My expectation,
> > this is only a win win situation in the long run, but it might be
> > painful at the beginning.
> >
> > For a stealth project, which wasn’t on GitHub from the beginning,
> > and which has some non-public tickets somewhere, its more
> > difficult to estimate the current standing from the outside.
> >
> > For Scryer Prolog the struggle is minutely documented:
> >
> > Compiling and running scryer as a WebAssembly binary?
> > https://github.com/mthom/scryer-prolog/issues/615
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > > https://github.com/ciao-lang/ciao_playground/issues/1
> > >
> > > I hope its not ending like Scryer Prolog, which has a wooping
> > > 223 open tickets, tendency is not yet that the number of open
> > > tickets goes down.
> > >
> > > My favorite formula for such an explosion of tickets is:
> > >
> > > The Ticket Backlog Curve
> > > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> > >
> > > So an initial explosion of tickets is linearly reduced.
> > > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:5a4a:0:b0:33e:c6f9:a6cc with SMTP id o10-20020ac85a4a000000b0033ec6f9a6ccmr6121519qta.518.1659712484738;
Fri, 05 Aug 2022 08:14:44 -0700 (PDT)
X-Received: by 2002:a81:7c7:0:b0:323:5b42:efd7 with SMTP id
190-20020a8107c7000000b003235b42efd7mr6205154ywh.431.1659712484335; Fri, 05
Aug 2022 08:14:44 -0700 (PDT)
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.prolog
Date: Fri, 5 Aug 2022 08:14:44 -0700 (PDT)
In-Reply-To: <2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Fri, 05 Aug 2022 15:14:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6402
 by: Mostowski Collapse - Fri, 5 Aug 2022 15:14 UTC

So for how long should we buy popcorn? How long will
this Prolog Web API wars last, months to years?

LoL

Thats actually the most astonishing und upredictable
thing here, the time scale. Can the unknown be planned?
Is a late adopter in a more advantageous position. What

if his system, like for example SWI-Prolog, is rather larger
Prolog system, organically grown for certain target systems,
and also moved away over the past from the

small ISO core standard.

Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:57 UTC+2:
> Anyway, I have an admin questions, so playground tickets
> don’t go into the Ciao Playground repo but into the Ciao repo?
> Historically Bilateralism does not have a good Reputation
>
> "The first rejection of bilateralism came after the First World War
> when many politicians concluded that the complex pre-war
> system of bilateral treaties had made war inevitable."
> https://en.wikipedia.org/wiki/Bilateralism#History
>
> So we might see some Prolog Web API wars in the near future?
> Because of some coalition formation between SWI-Prolog and
> Ciao Prolog? And then them against the rest of the Prolog world?
> Mostowski Collapse schrieb am Freitag, 5. August 2022 um 16:56:06 UTC+2:
> > How it started:
> >
> > Somebody wrote yesterday:
> > "For anyone finding this project interesting, we kindly as
> > everyone to try and explore our system, file issue reports,
> > contribute, and of course star our repository :wink: .
> >
> > BTW, this reminds me that it is really a pity that we do
> > not have a common Prolog forum to discuss, like in the old days.
> > Newsgroups do not work, and a “single system”
> >
> > discourse group is not a solution."
> >
> > How its going:
> >
> > A few hours ago, when starting to make visible some
> > limitations, everything diverted in a blink from “hello
> > community” to “bilateralism”.
> >
> > Somebody wrote today:
> > "I’m happy to have a discussion on exchanging code and
> > ideas between our projects. I think a telco is a better medium
> > for that than here. Just drop me a personal message."
> > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:25:37 UTC+2:
> > > Many WASM projects now coming out of the closet. My expectation,
> > > this is only a win win situation in the long run, but it might be
> > > painful at the beginning.
> > >
> > > For a stealth project, which wasn’t on GitHub from the beginning,
> > > and which has some non-public tickets somewhere, its more
> > > difficult to estimate the current standing from the outside.
> > >
> > > For Scryer Prolog the struggle is minutely documented:
> > >
> > > Compiling and running scryer as a WebAssembly binary?
> > > https://github.com/mthom/scryer-prolog/issues/615
> > > Mostowski Collapse schrieb am Freitag, 5. August 2022 um 13:07:29 UTC+2:
> > > > Thanks to my testing sixth sense, the first Ciao Playground issue:
> > > > https://github.com/ciao-lang/ciao_playground/issues/1
> > > >
> > > > I hope its not ending like Scryer Prolog, which has a wooping
> > > > 223 open tickets, tendency is not yet that the number of open
> > > > tickets goes down.
> > > >
> > > > My favorite formula for such an explosion of tickets is:
> > > >
> > > > The Ticket Backlog Curve
> > > > https://www.wolframalpha.com/input?i=1+-+exp%28-x%29+-+x%2F3+from+0+to+3
> > > >
> > > > So an initial explosion of tickets is linearly reduced.
> > > > Where in this curve is Scryer Prolog right now?

Re: 50 Years of Prolog Nonsense

<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ad4:5cc3:0:b0:474:8dda:dfb6 with SMTP id iu3-20020ad45cc3000000b004748ddadfb6mr10587729qvb.82.1659815143640;
Sat, 06 Aug 2022 12:45:43 -0700 (PDT)
X-Received: by 2002:a81:48c8:0:b0:328:d332:c392 with SMTP id
v191-20020a8148c8000000b00328d332c392mr11601499ywa.263.1659815143082; Sat, 06
Aug 2022 12:45:43 -0700 (PDT)
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.prolog
Date: Sat, 6 Aug 2022 12:45:42 -0700 (PDT)
In-Reply-To: <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 06 Aug 2022 19:45:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3531
 by: Mostowski Collapse - Sat, 6 Aug 2022 19:45 UTC

I have bad news for Ciao Prolog concerning:

Just in case it is useful, we published this paper back in
2012 about translation of Prolog to JS. We had some
libraries to interact with the DOM and JS and some
kind of JS foreign interface:
[1210.2864] Lightweight compilation of (C)LP to JavaScript
https://arxiv.org/abs/1210.2864

Its not extremly relevant, since the presented Ciao JS is not asyncified.
For example if I go to this page, I do not find that it is asyncified:

8-Queens Demo
http://cliplab.org/~jfran/ptojs/queens_ui/queens_ui.html

It doesn’t count as a prior art of an asyncified Prolog system.
asyncified Prolog systems basically started with Tau-Prolog
to some extend, they use a kind of continuation style asyncification.

The milestone was when they started demonstrating some
async task stuff a few years ago.

Re: 50 Years of Prolog Nonsense

<1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ac8:570a:0:b0:342:f3cb:82b0 with SMTP id 10-20020ac8570a000000b00342f3cb82b0mr1687337qtw.192.1659815234154;
Sat, 06 Aug 2022 12:47:14 -0700 (PDT)
X-Received: by 2002:a25:33c5:0:b0:67a:6950:c188 with SMTP id
z188-20020a2533c5000000b0067a6950c188mr10403200ybz.175.1659815233858; Sat, 06
Aug 2022 12:47:13 -0700 (PDT)
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.prolog
Date: Sat, 6 Aug 2022 12:47:13 -0700 (PDT)
In-Reply-To: <bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sat, 06 Aug 2022 19:47:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4539
 by: Mostowski Collapse - Sat, 6 Aug 2022 19:47 UTC

But meanwhile Tau Prolog has evolved and now also
provide a modern async/await interface, similar like
Dogelog player has since a few months. So you

can now use Tau Prolog without ugly Promise chains
and with elegant async/await. At least I find
something like this now documented here:

Promises interface
http://tau-prolog.org/manual/promises-interface

But they do not 100% follow the naming convention for async
functions. I also do not 100% follow the naming convention.
In Dogelog I use async_XXX and Tau Prolog uses promiseXXX,

but according to this web article the naming convention would be XXXAsync:

JavaScript Method Naming Convention for Async Functions
https://blog.8bitzen.com/posts/13-06-2019-javascript-method-naming-convention-for-async-functions

Mostowski Collapse schrieb am Samstag, 6. August 2022 um 21:45:44 UTC+2:
> I have bad news for Ciao Prolog concerning:
>
> Just in case it is useful, we published this paper back in
> 2012 about translation of Prolog to JS. We had some
> libraries to interact with the DOM and JS and some
> kind of JS foreign interface:
> [1210.2864] Lightweight compilation of (C)LP to JavaScript
> https://arxiv.org/abs/1210.2864
>
> Its not extremly relevant, since the presented Ciao JS is not asyncified.
> For example if I go to this page, I do not find that it is asyncified:
>
> 8-Queens Demo
> http://cliplab.org/~jfran/ptojs/queens_ui/queens_ui.html
>
> It doesn’t count as a prior art of an asyncified Prolog system.
> asyncified Prolog systems basically started with Tau-Prolog
> to some extend, they use a kind of continuation style asyncification.
>
> The milestone was when they started demonstrating some
> async task stuff a few years ago.

Re: 50 Years of Prolog Nonsense

<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a37:8606:0:b0:6b8:e6d7:af09 with SMTP id i6-20020a378606000000b006b8e6d7af09mr11327856qkd.416.1659875087985;
Sun, 07 Aug 2022 05:24:47 -0700 (PDT)
X-Received: by 2002:a25:33c5:0:b0:67a:6950:c188 with SMTP id
z188-20020a2533c5000000b0067a6950c188mr12405709ybz.175.1659875087670; Sun, 07
Aug 2022 05:24:47 -0700 (PDT)
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.prolog
Date: Sun, 7 Aug 2022 05:24:47 -0700 (PDT)
In-Reply-To: <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:24:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3687
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:24 UTC

Maybe one can build an asyncified SWI-Prolog WASM
around eyebrow. The code currently contains
Promise chains:

fetch('https://josd.github.io/eye/eye.pl')
.then(response => response.text())
.then(data => (Module.FS.writeFile('/eye.pl', data)));
https://github.com/josd/eyebrow/blob/master/socrates.html

But in principle the SWI-Prolog WASM should have a
consult, and could intiate this fetch by itself, by suspending
with the new js_yield/2 or a variant of it. So the page is

not 100% asyncified, since the SWI-Prolog WASM itself
is not yet asyncified. BTW: There would be another style
to asyncify the above fetch, instead as an old style

How to use the Fetch API with async/await
https://rapidapi.com/guides/fetch-api-async-await

Promise chain, it could be also realized with the newer style
async/await above. Brainwriting here helps me develop the
same for Dogelog, which is asyncified but has still

some synchronous parts.

Re: 50 Years of Prolog Nonsense

<e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:2889:b0:6b6:5410:b2c7 with SMTP id j9-20020a05620a288900b006b65410b2c7mr10895140qkp.697.1659875184838;
Sun, 07 Aug 2022 05:26:24 -0700 (PDT)
X-Received: by 2002:a81:349:0:b0:324:d932:1362 with SMTP id
70-20020a810349000000b00324d9321362mr13206072ywd.281.1659875184448; Sun, 07
Aug 2022 05:26:24 -0700 (PDT)
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.prolog
Date: Sun, 7 Aug 2022 05:26:24 -0700 (PDT)
In-Reply-To: <e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:26:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4565
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:26 UTC

If the eyebrow SWI-Prolog WASM were 100% asyncified,
by the new style async/await or by the old style
Promise chains, then we would not see:

var SWIPL = (() => {

But rather this here in the new style:

var SWIPL = (async() => {

But I am not 100% sure how to asyncify it. Currently it
creates a promise, but this is rather pointless, since
the .then((module) => is only called once, I suspect.

But an asyncified SWI-Prolog WASM would resume again
and again, realize a await promise loop. It has also some
custom rolled async support, like for example addRunDependency

and removeRunDependency, not sure what it is doing, in
connection with asyncLoad().

Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:24:49 UTC+2:
> Maybe one can build an asyncified SWI-Prolog WASM
> around eyebrow. The code currently contains
> Promise chains:
>
> fetch('https://josd.github.io/eye/eye.pl')
> .then(response => response.text())
> .then(data => (Module.FS.writeFile('/eye.pl', data)));
> https://github.com/josd/eyebrow/blob/master/socrates.html
>
> But in principle the SWI-Prolog WASM should have a
> consult, and could intiate this fetch by itself, by suspending
> with the new js_yield/2 or a variant of it. So the page is
>
> not 100% asyncified, since the SWI-Prolog WASM itself
> is not yet asyncified. BTW: There would be another style
> to asyncify the above fetch, instead as an old style
>
> How to use the Fetch API with async/await
> https://rapidapi.com/guides/fetch-api-async-await
>
> Promise chain, it could be also realized with the newer style
> async/await above. Brainwriting here helps me develop the
> same for Dogelog, which is asyncified but has still
>
> some synchronous parts.

Re: 50 Years of Prolog Nonsense

<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:181c:b0:342:eb0c:5cf6 with SMTP id t28-20020a05622a181c00b00342eb0c5cf6mr4764946qtc.578.1659875573346;
Sun, 07 Aug 2022 05:32:53 -0700 (PDT)
X-Received: by 2002:a25:b9c3:0:b0:668:a418:13c with SMTP id
y3-20020a25b9c3000000b00668a418013cmr11871118ybj.498.1659875572966; Sun, 07
Aug 2022 05:32:52 -0700 (PDT)
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.prolog
Date: Sun, 7 Aug 2022 05:32:52 -0700 (PDT)
In-Reply-To: <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 12:32:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4865
 by: Mostowski Collapse - Sun, 7 Aug 2022 12:32 UTC

Corr.:
var is also deprecated nowadays

let SWIPL = (async() => {

Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:26:25 UTC+2:
> If the eyebrow SWI-Prolog WASM were 100% asyncified,
> by the new style async/await or by the old style
> Promise chains, then we would not see:
>
> var SWIPL = (() => {
>
> But rather this here in the new style:
>
> var SWIPL = (async() => {
>
> But I am not 100% sure how to asyncify it. Currently it
> creates a promise, but this is rather pointless, since
> the .then((module) => is only called once, I suspect.
>
> But an asyncified SWI-Prolog WASM would resume again
> and again, realize a await promise loop. It has also some
> custom rolled async support, like for example addRunDependency
>
> and removeRunDependency, not sure what it is doing, in
> connection with asyncLoad().
> Mostowski Collapse schrieb am Sonntag, 7. August 2022 um 14:24:49 UTC+2:
> > Maybe one can build an asyncified SWI-Prolog WASM
> > around eyebrow. The code currently contains
> > Promise chains:
> >
> > fetch('https://josd.github.io/eye/eye.pl')
> > .then(response => response.text())
> > .then(data => (Module.FS.writeFile('/eye.pl', data)));
> > https://github.com/josd/eyebrow/blob/master/socrates.html
> >
> > But in principle the SWI-Prolog WASM should have a
> > consult, and could intiate this fetch by itself, by suspending
> > with the new js_yield/2 or a variant of it. So the page is
> >
> > not 100% asyncified, since the SWI-Prolog WASM itself
> > is not yet asyncified. BTW: There would be another style
> > to asyncify the above fetch, instead as an old style
> >
> > How to use the Fetch API with async/await
> > https://rapidapi.com/guides/fetch-api-async-await
> >
> > Promise chain, it could be also realized with the newer style
> > async/await above. Brainwriting here helps me develop the
> > same for Dogelog, which is asyncified but has still
> >
> > some synchronous parts.

Re: 50 Years of Prolog Nonsense

<d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:622a:144f:b0:341:728:dee with SMTP id v15-20020a05622a144f00b0034107280deemr12419673qtx.459.1659880259601;
Sun, 07 Aug 2022 06:50:59 -0700 (PDT)
X-Received: by 2002:a81:9245:0:b0:31f:4e3e:363d with SMTP id
j66-20020a819245000000b0031f4e3e363dmr14167102ywg.119.1659880259192; Sun, 07
Aug 2022 06:50:59 -0700 (PDT)
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.prolog
Date: Sun, 7 Aug 2022 06:50:58 -0700 (PDT)
In-Reply-To: <2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Sun, 07 Aug 2022 13:50:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4260
 by: Mostowski Collapse - Sun, 7 Aug 2022 13:50 UTC

I am just writing down what comes to my mind.
For example when I read this here:

Reverse the burden of proof
http://josd.github.io/Talks/2022/06welding/#(7)

Then I think this is a too narrow view what
Jan Wielemaker work could do. Although I have
no clue how much work it is for SWI-Prolog and
where SWI-Prolog is going. But basically:

- Yielding plus asyncify can be also used on
the server and headless mode, via nodejs, its
not restricted to the client and the browser. (Works in Dogelog so far)
https://nodejs.org/en/

- Yielding plus asyncify can be also done for
Python, and some other languages, Python
even has the new async/await as well. (Works in Dogelog so far)

- Its an age old technique, practically every operating
system has coroutine rings inside threads

- In the Java world its usually called fibers

- It is what allowed Erlang to have millions of actors

In the broader view you can use it for peer to peer
communication between servers as well, like some
blockchain confirmation counts etc…

And the peer can be even a browser client, but you
need to change the same-origin credentials I guess.

Disclaimer: Somebody from the industry could
surely talk more competently about it. Like somebody
from https://tokio.rs/ ?

Re: 50 Years of Prolog Nonsense

<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:4542:b0:6b3:7c51:6177 with SMTP id u2-20020a05620a454200b006b37c516177mr15617070qkp.306.1659996466504;
Mon, 08 Aug 2022 15:07:46 -0700 (PDT)
X-Received: by 2002:a25:c013:0:b0:671:8102:eb2 with SMTP id
c19-20020a25c013000000b0067181020eb2mr18246024ybf.316.1659996466156; Mon, 08
Aug 2022 15:07:46 -0700 (PDT)
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.prolog
Date: Mon, 8 Aug 2022 15:07:45 -0700 (PDT)
In-Reply-To: <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Mon, 08 Aug 2022 22:07:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3265
 by: Mostowski Collapse - Mon, 8 Aug 2022 22:07 UTC

Some results of a 48 hour SWIPL WASM Hackathon?
https://dev.swi-prolog.org/wasm/shell

?- assertz(foo).
true.

?- foo.
true.

?- repeat, fail.
ERROR: Execution Aborted
?- foo.
true.

ultimately superior to some polished academic papers,
that need 3 years from inception to publication

LoL

Re: 50 Years of Prolog Nonsense

<b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:c789:0:b0:470:8c5b:5e13 with SMTP id k9-20020a0cc789000000b004708c5b5e13mr17528508qvj.86.1659997003905;
Mon, 08 Aug 2022 15:16:43 -0700 (PDT)
X-Received: by 2002:a25:d648:0:b0:676:bf85:d3a9 with SMTP id
n69-20020a25d648000000b00676bf85d3a9mr18242117ybg.538.1659997003508; Mon, 08
Aug 2022 15:16:43 -0700 (PDT)
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.prolog
Date: Mon, 8 Aug 2022 15:16:43 -0700 (PDT)
In-Reply-To: <939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.218.40.218; posting-account=UjEXBwoAAAAOk5fiB8WdHvZddFg9nJ9r
NNTP-Posting-Host: 80.218.40.218
References: <db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com>
<c94e6149-d42c-481c-ace9-d81108d6f786n@googlegroups.com> <b852be37-8238-4ef0-9c96-3381c7f92487n@googlegroups.com>
<f0d280e5-5b2d-4170-aaad-39e1bd109939n@googlegroups.com> <5b00dab0-832f-4fbe-b319-3d459d856e53n@googlegroups.com>
<d5981258-7636-4545-9835-b428d67d4326n@googlegroups.com> <1acaa5f3-171d-4417-bd41-32a9578db900n@googlegroups.com>
<b5c64f15-9b88-4b90-9c2e-91055c7eb63fn@googlegroups.com> <3cafa634-538b-40a3-a4a9-2f68abf240f5n@googlegroups.com>
<a9db6e9e-f0e8-49e0-9126-d14b9073ec58n@googlegroups.com> <m2sfn6kzuc.fsf@logic.at>
<781b5836-4c51-4a7e-a074-85fa4ab490fbn@googlegroups.com> <242e2f19-536c-48a5-b878-25a5203784dfn@googlegroups.com>
<e3e3ff06-25e4-402d-aee2-9b6cc7a55c44n@googlegroups.com> <c06d38ce-e0bc-41cf-a047-31329c129a18n@googlegroups.com>
<922650d6-1ca0-4cd1-8792-e5a5a9382dd7n@googlegroups.com> <9eddc0c6-1e9e-4d89-8486-1a7b6c74db7cn@googlegroups.com>
<db4884ea-268d-4d4b-9e1c-ee8e23d9633cn@googlegroups.com> <776d1dff-fdbc-4f98-ac73-c7b987e66339n@googlegroups.com>
<98ad3212-8093-488e-998d-ebe8e5204c2en@googlegroups.com> <fb646080-0f83-4ea0-b102-3a0cf6d0012fn@googlegroups.com>
<6c22406d-adb5-4116-8b4d-8c406959741an@googlegroups.com> <06e0236a-4538-4b76-8206-c3041372d741n@googlegroups.com>
<ba2c670e-c040-49df-b98e-2d130488eeecn@googlegroups.com> <919fdcf2-9174-4373-9166-67ba8384dc53n@googlegroups.com>
<2d996885-ad17-4e96-a7fe-5cea9318ddc7n@googlegroups.com> <ca4834a1-9b0b-41ac-bc5d-30e9b45557bcn@googlegroups.com>
<bb556d4e-338d-4d7f-8391-ffe81a22c9e3n@googlegroups.com> <1cf6b9ff-fa76-45d0-9542-dc5324996f00n@googlegroups.com>
<e7f10ebb-535d-4db4-8567-f543ef30680an@googlegroups.com> <e4f301d9-83a5-481f-8aa1-f9a3010cc973n@googlegroups.com>
<2af0e494-7183-477a-a52f-b1c93047ac83n@googlegroups.com> <d9eb640c-2426-41c4-b947-b8872958d3c8n@googlegroups.com>
<939c840f-9b88-409f-a8e6-528fc9922009n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b67fdde2-ffd1-4f2c-b44a-d3f70f5df859n@googlegroups.com>
Subject: Re: 50 Years of Prolog Nonsense
From: bursejan@gmail.com (Mostowski Collapse)
Injection-Date: Mon, 08 Aug 2022 22:16:43 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3570
 by: Mostowski Collapse - Mon, 8 Aug 2022 22:16 UTC

(Possibly also a nice display of continuous integration (CI) and
continuous deployment (CD). For example the WASM thingy.)

Mostowski Collapse schrieb am Dienstag, 9. August 2022 um 00:07:47 UTC+2:
> Some results of a 48 hour SWIPL WASM Hackathon?
> https://dev.swi-prolog.org/wasm/shell
>
> ?- assertz(foo).
> true.
>
> ?- foo.
> true.
>
> ?- repeat, fail.
> ERROR: Execution Aborted
> ?- foo.
> true.
>
> ultimately superior to some polished academic papers,
> that need 3 years from inception to publication
>
> LoL


devel / comp.lang.prolog / Re: 50 Years of Prolog Nonsense

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor