Thread View: comp.lang.prolog
3 messages
3 total messages
Started by Mild Shock
Sat, 17 Oct 2026 14:48
Is there a PIP for AI to Prolog interaction? (Was: How hard is PIP-0110 to implement?)
Author: Mild Shock
Date: Sat, 17 Oct 2026 14:48
Date: Sat, 17 Oct 2026 14:48
65 lines
3227 bytes
3227 bytes
Hi,
While there is a Prolog-Python interaction
PIP (*), there seems to be no AI-Prolog
interaction PIP. The prolog agent toolkit
is surely an instance of the later hypothetical
PIP, but has also alternative takes, like here:
An HTTP/MCP-Interface for Scryer Prolog
https://github.com/Christopher22/charon
Also an alternative take for the former PIP “Janus”:
ScryNeuro: A Prolog ↔ Python interface
https://github.com/sporeking/ScryNeuro
Both projects are AI slop? One using mostlikely
Claude to a greater extend, the other using
sisyphus-dev-ai to a lesser extend. Neither
readme.MD has any transparency what was used,
giving the pain of additional detective
work when forking.
Bye
(*)
https://prolog-lang.org/ImprovementsForum/0101-janus-index.html
Mild Shock schrieb:
> Hi,
>
> Now I was testing:
>
> ?- format("~`*t NICE TABLE ~`*t~61|~n", []),
> format("*~t~d~20|~t~d~t~40|~d~t~40|~t*~61|~n", [123,45,678]).
>
> There is quite some discrepancy among Prolog systems:
>
> /* SWI-Prolog 10.1.5 */
> ************************ NICE TABLE *************************
> * 123 45 678 *
>
> /* Scryer Prolog 0.10 */
> ************************ NICE TABLE *************************
> * 123 45 678 *
>
> /* Trealla Prolog 2.94.3 */
> ************************ NICE TABLE ************************
> * 123 45 678 *
>
> Expected output would be, yes we can do it!
>
> /* Dogelog Player 2.2.2 */
> ************************ NICE TABLE *************************
> * 123 45 678 *
>
>
> See also:
> https://prolog-lang.org/ImprovementsForum/0110-format.html
>
> Bye
Can the "Comparison of Prolog implementations" keep up? [WebPrologs] (Was: Is there a PIP for AI to Prolog interaction?)
Author: Mild Shock
Date: Sat, 17 Oct 2026 14:50
Date: Sat, 17 Oct 2026 14:50
86 lines
3885 bytes
3885 bytes
Hi,
Also the landscape is exploding with new WebPrologs:
The Retina project began in 2021 and became EyeProlog in 2026
https://github.com/eyereasoner/eyeprolog
Shumway is a cross-platform Prolog engine for .NET**
https://github.com/gusbro/Shumway
So the ISO core standard payed off? Congratulations!
Bye
P.S.: This page probably lost it completely:
Comparison of Prolog implementations
https://en.wikipedia.org/wiki/Comparison_of_Prolog_implementations
Mild Shock schrieb:
> Hi,
>
> While there is a Prolog-Python interaction
> PIP (*), there seems to be no AI-Prolog
> interaction PIP. The prolog agent toolkit
>
> is surely an instance of the later hypothetical
> PIP, but has also alternative takes, like here:
>
> An HTTP/MCP-Interface for Scryer Prolog
> https://github.com/Christopher22/charon
>
> Also an alternative take for the former PIP “Janus”:
>
> ScryNeuro: A Prolog ↔ Python interface
> https://github.com/sporeking/ScryNeuro
>
> Both projects are AI slop? One using mostlikely
> Claude to a greater extend, the other using
> sisyphus-dev-ai to a lesser extend. Neither
> readme.MD has any transparency what was used,
>
> giving the pain of additional detective
> work when forking.
>
> Bye
>
> (*)
> https://prolog-lang.org/ImprovementsForum/0101-janus-index.html
>
> Mild Shock schrieb:
>> Hi,
>>
>> Now I was testing:
>>
>> ?- format("~`*t NICE TABLE ~`*t~61|~n", []),
>> format("*~t~d~20|~t~d~t~40|~d~t~40|~t*~61|~n", [123,45,678]).
>>
>> There is quite some discrepancy among Prolog systems:
>>
>> /* SWI-Prolog 10.1.5 */
>> ************************ NICE TABLE *************************
>> * 123 45 678 *
>>
>> /* Scryer Prolog 0.10 */
>> ************************ NICE TABLE *************************
>> * 123 45 678 *
>>
>> /* Trealla Prolog 2.94.3 */
>> ************************ NICE TABLE ************************
>> * 123 45 678 *
>>
>> Expected output would be, yes we can do it!
>>
>> /* Dogelog Player 2.2.2 */
>> ************************ NICE TABLE *************************
>> * 123 45 678 *
>>
>>
>> See also:
>> https://prolog-lang.org/ImprovementsForum/0110-format.html
>>
>> Bye
>
>
P(purity) just flipped back to zero [Ulrich Neumerkels Armageddon] (Was: Can the "Comparison of Prolog implementations" keep)
Author: Mild Shock
Date: Sat, 17 Oct 2026 19:07
Date: Sat, 17 Oct 2026 19:07
123 lines
4708 bytes
4708 bytes
Hi,
When we have this here:
?- current_prolog_flag(occurs_check, X).
X = false.
Whats the secret sauce for dif/2 ?
Now I get:
/* Shumway Prolog 0.9.3 */
?- time(tidy(14900)), fail.
% 11.074 seconds, 938,780 heap cells
false.
Compare this to:
/* SWI-Prolog 10.1.15-46-gd7d2a2bb8 */
?- time(tidy(1040000)).
% % 32,244,992 inferences, 1.125 CPU in 1.159 seconds (97% CPU, 28662215
Lips)
% true.
Bye
P.S.: This is the test code:
/* Ulrich Neumerkels Armageddon */
tidy(N) :-
length(Xs, N),
dif(V, X), dif(V, Xs),
maplist(dif(_), Xs).
Mild Shock schrieb:
> Hi,
>
> Also the landscape is exploding with new WebPrologs:
>
> The Retina project began in 2021 and became EyeProlog in 2026
> https://github.com/eyereasoner/eyeprolog
>
> Shumway is a cross-platform Prolog engine for .NET**
> https://github.com/gusbro/Shumway
>
> So the ISO core standard payed off? Congratulations!
>
> Bye
>
> P.S.: This page probably lost it completely:
>
> Comparison of Prolog implementations
> https://en.wikipedia.org/wiki/Comparison_of_Prolog_implementations
>
> Mild Shock schrieb:
>> Hi,
>>
>> While there is a Prolog-Python interaction
>> PIP (*), there seems to be no AI-Prolog
>> interaction PIP. The prolog agent toolkit
>>
>> is surely an instance of the later hypothetical
>> PIP, but has also alternative takes, like here:
>>
>> An HTTP/MCP-Interface for Scryer Prolog
>> https://github.com/Christopher22/charon
>>
>> Also an alternative take for the former PIP “Janus”:
>>
>> ScryNeuro: A Prolog ↔ Python interface
>> https://github.com/sporeking/ScryNeuro
>>
>> Both projects are AI slop? One using mostlikely
>> Claude to a greater extend, the other using
>> sisyphus-dev-ai to a lesser extend. Neither
>> readme.MD has any transparency what was used,
>>
>> giving the pain of additional detective
>> work when forking.
>>
>> Bye
>>
>> (*)
>> https://prolog-lang.org/ImprovementsForum/0101-janus-index.html
>>
>> Mild Shock schrieb:
>>> Hi,
>>>
>>> Now I was testing:
>>>
>>> ?- format("~`*t NICE TABLE ~`*t~61|~n", []),
>>> format("*~t~d~20|~t~d~t~40|~d~t~40|~t*~61|~n", [123,45,678]).
>>>
>>> There is quite some discrepancy among Prolog systems:
>>>
>>> /* SWI-Prolog 10.1.5 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>> /* Scryer Prolog 0.10 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>> /* Trealla Prolog 2.94.3 */
>>> ************************ NICE TABLE ************************
>>> * 123 45 678 *
>>>
>>> Expected output would be, yes we can do it!
>>>
>>> /* Dogelog Player 2.2.2 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>>
>>> See also:
>>> https://prolog-lang.org/ImprovementsForum/0110-format.html
>>>
>>> Bye
>>
>>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads