# Latest

**URL:** https://swi-prolog.discourse.group/latest.md?page=3

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

**Page:** 4

---

## [Bug in unifying dictionaries that contain CLP(Q) constraints](https://swi-prolog.discourse.group/t/bug-in-unifying-dictionaries-that-contain-clp-q-constraints/9737)

<div class="topic-metadata">

**Author:** [@AZH](https://swi-prolog.discourse.group/u/AZH)\
**Replies:** 4\
**Last updated:** [July 14, 2026, 11:44am UTC](https://swi-prolog.discourse.group/t/bug-in-unifying-dictionaries-that-contain-clp-q-constraints/9737 "2026-07-14T11:44:43Z")

</div>

Hi there, just got what seems like a bug: :- use\_module(library(clpq)). test :- X = #{a:0,b:1}, Y = #{a:\_,b:\_,c:\_}, {Y.a + Y.b = Y.c}, {Y.c \> 0}, X \>:\< Y. The above test fails u…

---

## [A Python MCP server for exposing Prolog to LLM agents](https://swi-prolog.discourse.group/t/a-python-mcp-server-for-exposing-prolog-to-llm-agents/9735)

<div class="topic-metadata">

**Author:** [@Agnieszka](https://swi-prolog.discourse.group/u/Agnieszka)\
**Replies:** 2\
**Last updated:** [July 13, 2026, 7:32pm UTC](https://swi-prolog.discourse.group/t/a-python-mcp-server-for-exposing-prolog-to-llm-agents/9735 "2026-07-13T19:32:11Z")

</div>

Hi, We’re a group of researchers working on neurosymbolic AI, and we wanted to share a tool we’ve built: PrologMCP, an MCP server that exposes SWI-Prolog to LLM agents. We’re aware of the other Prolog MCP servers ann…

---

## [Unable to use the Discourse application](https://swi-prolog.discourse.group/t/unable-to-use-the-discourse-application/9729)

<div class="topic-metadata">

**Author:** [@rogersm](https://swi-prolog.discourse.group/u/rogersm)\
**Replies:** 1\
**Last updated:** [July 12, 2026, 6:31pm UTC](https://swi-prolog.discourse.group/t/unable-to-use-the-discourse-application/9729 "2026-07-12T18:31:31Z")

</div>

For the last weeks (months?) I’ve been unable to log in swi-prolog forum using the ios discourse application with an API error: Is this expected? I find extremely useful the Discourse App when I’m traveling.

---

## [Can no longer publish updates to packages](https://swi-prolog.discourse.group/t/can-no-longer-publish-updates-to-packages/9728)

<div class="topic-metadata">

**Author:** [@hargettp](https://swi-prolog.discourse.group/u/hargettp)\
**Replies:** 3\
**Last updated:** [July 11, 2026, 4:45pm UTC](https://swi-prolog.discourse.group/t/can-no-longer-publish-updates-to-packages/9728 "2026-07-11T16:45:22Z")

</div>

I’m using: SWI-Prolog version 10.0.2 (on macOS 26) I want the code to: register my new package with the swi-prolog.org catalog But what I’m getting is: swipl does the test install of dependencies and my package – but t…

---

## [Bug in clause/2?](https://swi-prolog.discourse.group/t/bug-in-clause-2/9726)

<div class="topic-metadata">

**Author:** [@Iam](https://swi-prolog.discourse.group/u/Iam)\
**Replies:** 12\
**Last updated:** [July 11, 2026, 1:06pm UTC](https://swi-prolog.discourse.group/t/bug-in-clause-2/9726 "2026-07-11T13:06:23Z")

</div>

I am using SWI-Prolog (threaded, 64 bits, version 10.0.2) on a Mac M3. My single line program is: test(L) :- ( L = a ) . My query is ?- clause(test(L),Body). I expected to get the same answer that I got in SW…

---

## [Ann: SWI-Prolog 10.1.11](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-11/9722)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 2\
**Last updated:** [July 10, 2026, 7:27am UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-11/9722 "2026-07-10T07:27:48Z")

</div>

SWI-Prolog Changelog since version 10.1.10 This release provides several improvements required by the SWI-Prolog MCP server (pack mcp): support for HTTP SSE (Server Sent Events) and additional APIs for various normally…

---

## [Message appears on swipl-win launch terminal when Python call made by janus](https://swi-prolog.discourse.group/t/message-appears-on-swipl-win-launch-terminal-when-python-call-made-by-janus/9724)

<div class="topic-metadata">

**Author:** [@mike.elston](https://swi-prolog.discourse.group/u/mike.elston)\
**Replies:** 3\
**Last updated:** [July 7, 2026, 11:29pm UTC](https://swi-prolog.discourse.group/t/message-appears-on-swipl-win-launch-terminal-when-python-call-made-by-janus/9724 "2026-07-07T23:29:28Z")

</div>

I’m using: SWI-Prolog version 10.1.10-27-gb662174c4 test.pl: :- use\_module(library(janus)). test :- py\_call(list, \_, \[py\_object(true)\]). Run goal which calls py\_call/3 101 ?- test. % Interactive session; added…

---

## [Using Claude Code to create skills, commands, plans, ... for SWI-Prolog](https://swi-prolog.discourse.group/t/using-claude-code-to-create-skills-commands-plans-for-swi-prolog/9420)

<div class="topic-metadata">

**Author:** [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Replies:** 25\
**Last updated:** [July 6, 2026, 9:06pm UTC](https://swi-prolog.discourse.group/t/using-claude-code-to-create-skills-commands-plans-for-swi-prolog/9420 "2026-07-06T21:06:38Z")

</div>

For the past few weeks, I’ve been using Claude Code for VS Code to program in SWI-Prolog with more success than failure. Over the years, many developers have had limited success using LLMs from companies such as OpenAI,…

---

## [Problems tcp/ip tcp\_connect/2 to tcp\_connect/3 while upgrading from 8.x to 9.x or 10.x](https://swi-prolog.discourse.group/t/problems-tcp-ip-tcp-connect-2-to-tcp-connect-3-while-upgrading-from-8-x-to-9-x-or-10-x/9723)

<div class="topic-metadata">

**Author:** [@jayprakashnair](https://swi-prolog.discourse.group/u/jayprakashnair)\
**Replies:** 1\
**Last updated:** [July 6, 2026, 7:59am UTC](https://swi-prolog.discourse.group/t/problems-tcp-ip-tcp-connect-2-to-tcp-connect-3-while-upgrading-from-8-x-to-9-x-or-10-x/9723 "2026-07-06T07:59:56Z")

</div>

I am involved in the development of a platform using SWI Prolog ver. 8.x. But with the advent of newer versions, things have become messed up, especially when we try to use the TCP protocol to open sockets and communica…

---

## [Errors and a hang rebuilding](https://swi-prolog.discourse.group/t/errors-and-a-hang-rebuilding/9719)

<div class="topic-metadata">

**Author:** [@mike.elston](https://swi-prolog.discourse.group/u/mike.elston)\
**Replies:** 3\
**Last updated:** [July 4, 2026, 8:52am UTC](https://swi-prolog.discourse.group/t/errors-and-a-hang-rebuilding/9719 "2026-07-04T08:52:17Z")

</div>

Hi Jan I routinely rebuild from source of Ubuntu without problems but today errors and a hang. Regards Mike PS Really sorry to hear of your health challenges. I hope you are putting your recovery ahead of swipl. Di…

---

## [Issues with UNC path](https://swi-prolog.discourse.group/t/issues-with-unc-path/9010)

<div class="topic-metadata">

**Author:** [@nijan104](https://swi-prolog.discourse.group/u/nijan104)\
**Replies:** 9\
**Last updated:** [July 1, 2026, 6:02pm UTC](https://swi-prolog.discourse.group/t/issues-with-unc-path/9010 "2026-07-01T18:02:33Z")

</div>

Hi Jan, I am trying to upgrade my project from swi prolog version 5.6.48 to version 9.2.9-1 but came across some issues with UNC paths. First issue appeared when I was trying to load a dll from a UNC path When I …

---

## [Pack installer does not check installed packs for dependencies?](https://swi-prolog.discourse.group/t/pack-installer-does-not-check-installed-packs-for-dependencies/9707)

<div class="topic-metadata">

**Author:** [@nicos](https://swi-prolog.discourse.group/u/nicos)\
**Replies:** 2\
**Last updated:** [July 1, 2026, 8:36am UTC](https://swi-prolog.discourse.group/t/pack-installer-does-not-check-installed-packs-for-dependencies/9707 "2026-07-01T08:36:55Z")

</div>

I think I posted before about this issue in the forum. Hopefully, the following is a more complete report. Behaviour: I am trying to install bio\_db (4.8) which in its pack.pl includes: “requires(lib)”. I have latest …

---

## [SWI-Prolog MCP server and service - Reply # 01](https://swi-prolog.discourse.group/t/swi-prolog-mcp-server-and-service-reply-01/9717)

<div class="topic-metadata">

**Author:** [@alanbur](https://swi-prolog.discourse.group/u/alanbur)\
**Replies:** 3\
**Last updated:** [July 1, 2026, 8:33am UTC](https://swi-prolog.discourse.group/t/swi-prolog-mcp-server-and-service-reply-01/9717 "2026-07-01T08:33:21Z")

</div>

It doesn’t work with Codex: MCP client for \`SWI-Prolog\` failed to start: MCP startup failed: handshaking with MCP server failed: Send message error Transport \[rmcp::transport::worker::WorkerTransport\<rmcp::transport…

---

## [Unintuitive debug/3 - format/2 interaction](https://swi-prolog.discourse.group/t/unintuitive-debug-3-format-2-interaction/9715)

<div class="topic-metadata">

**Author:** [@Benji](https://swi-prolog.discourse.group/u/Benji)\
**Replies:** 7\
**Last updated:** [July 1, 2026, 7:58am UTC](https://swi-prolog.discourse.group/t/unintuitive-debug-3-format-2-interaction/9715 "2026-07-01T07:58:04Z")

</div>

I have reduced my confusion on the fillowing situation: run :- debug(foo), debug(foo, 'd1', \[\]), format('baz', \[\]), debug(foo, 'd2', \[\]), format('~n', \[\]), debug(foo, 'd1', \[\]), ansi\_fo…

---

## [SWI-Prolog MCP server and service](https://swi-prolog.discourse.group/t/swi-prolog-mcp-server-and-service/9716)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 0\
**Last updated:** [June 30, 2026, 2:05pm UTC](https://swi-prolog.discourse.group/t/swi-prolog-mcp-server-and-service/9716 "2026-06-30T14:05:13Z")

</div>

I have created GitHub - JanWielemaker/mcp: SWI-Prolog MCP server framework with Prolog manual, introspection and toplevel servers. · GitHub, also available as the pack mcp. It provides A implementation of an MCP serv…

---

## [Bug hunting toolbox](https://swi-prolog.discourse.group/t/bug-hunting-toolbox/710)

<div class="topic-metadata">

**Author:** [@Wiki](https://swi-prolog.discourse.group/u/Wiki)\
**Replies:** 3\
**Last updated:** [June 28, 2026, 11:45am UTC](https://swi-prolog.discourse.group/t/bug-hunting-toolbox/710 "2026-06-28T11:45:41Z")

</div>

Note: This is a work in progress. When it is complete these notes will be removed. Note: Do not reply to this topic, questions, concerns, comments, etc. are to handled in Wiki Discussion: Bug hunting toolbox Note…

---

## [Html//1: Element with attribute without value](https://swi-prolog.discourse.group/t/html-1-element-with-attribute-without-value/9712)

<div class="topic-metadata">

**Author:** [@mcculloch](https://swi-prolog.discourse.group/u/mcculloch)\
**Replies:** 4\
**Last updated:** [June 26, 2026, 10:14pm UTC](https://swi-prolog.discourse.group/t/html-1-element-with-attribute-without-value/9712 "2026-06-26T22:14:34Z")

</div>

I need to have a “download” attribute without a value in an “a” element in html//1. What is the way to code that? Attributes are supposed to be Name=Value or Name(Value) and I don’t really have a Value at that point. T…

---

## [Tricky CHR behaviour](https://swi-prolog.discourse.group/t/tricky-chr-behaviour/9642)

<div class="topic-metadata">

**Author:** [@AZH](https://swi-prolog.discourse.group/u/AZH)\
**Replies:** 10\
**Last updated:** [June 26, 2026, 8:17pm UTC](https://swi-prolog.discourse.group/t/tricky-chr-behaviour/9642 "2026-06-26T20:17:26Z")

</div>

Hello, I have a CHR as follows: :- use\_module(library(chr)). :- chr\_constraint try/1. try(X), try(Y) \<=\> X == Y | writeln(succeed). then I declared a constraint, but got an unexpected result: ?- try(A). succeed try(A…

---

## [Ann: SWI-Prolog 10.1.10](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-10/9711)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 0\
**Last updated:** [June 25, 2026, 11:48am UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-10/9711 "2026-06-25T11:48:50Z")

</div>

SWI-Prolog Changelog since version 10.1.9 This is mostly a polish release. PlDoc gains an optional changelog integration that adds a history section to predicate documentation, mined from the git history at build time (f…

---

## [Debugging two http\_server inside docker containers](https://swi-prolog.discourse.group/t/debugging-two-http-server-inside-docker-containers/9703)

<div class="topic-metadata">

**Author:** [@wdiestel](https://swi-prolog.discourse.group/u/wdiestel)\
**Replies:** 23\
**Last updated:** [June 25, 2026, 6:32am UTC](https://swi-prolog.discourse.group/t/debugging-two-http-server-inside-docker-containers/9703 "2026-06-25T06:32:04Z")

</div>

I’m using: SWI-Prolog (threaded, 64 bits, version 10.0.2) I try to debug two containers running http\_server, where one functions as a proxy calling the other using http\_post. Every 30 requests or so I get such an error…

---

## [Should the reference manual document differences between the current version and earlier versions?](https://swi-prolog.discourse.group/t/should-the-reference-manual-document-differences-between-the-current-version-and-earlier-versions/1658)

<div class="topic-metadata">

**Author:** [@cmsmcq](https://swi-prolog.discourse.group/u/cmsmcq)\
**Replies:** 4\
**Last updated:** [June 23, 2026, 3:30pm UTC](https://swi-prolog.discourse.group/t/should-the-reference-manual-document-differences-between-the-current-version-and-earlier-versions/1658 "2026-06-23T15:30:42Z")

</div>

The reference manual at SWI-Prolog -- Status and releases is quite clear, in section 1.2, that This manual describes version 8.1.19 of SWI-Prolog. This has as a consequence that on any point where things have changed…

---

## [Sharing prolog-fmt: authorative Prolog formatter](https://swi-prolog.discourse.group/t/sharing-prolog-fmt-authorative-prolog-formatter/9698)

<div class="topic-metadata">

**Author:** [@xlii](https://swi-prolog.discourse.group/u/xlii)\
**Replies:** 13\
**Last updated:** [June 22, 2026, 7:30pm UTC](https://swi-prolog.discourse.group/t/sharing-prolog-fmt-authorative-prolog-formatter/9698 "2026-06-22T19:30:47Z")

</div>

Hi, I worte and would like to share an authorative Prolog formatter. Had a nicer message, but seems I can only write 2 lines of text as a newly registered. Link to repo: github:exlee/prolog-fmt. If there’s interest I’ll …

---

## [Elegant prolog codes on displaying answers for queries having multiple answers](https://swi-prolog.discourse.group/t/elegant-prolog-codes-on-displaying-answers-for-queries-having-multiple-answers/9697)

<div class="topic-metadata">

**Author:** [@kuniaki.mukai](https://swi-prolog.discourse.group/u/kuniaki.mukai)\
**Replies:** 9\
**Last updated:** [June 22, 2026, 8:54am UTC](https://swi-prolog.discourse.group/t/elegant-prolog-codes-on-displaying-answers-for-queries-having-multiple-answers/9697 "2026-06-22T08:54:02Z")

</div>

I wrote a simple emacs handler in SWI-Prolog around 2010, which have been working stable based on asynchronous communication start-process. However recently enter key is found not working as was expected. Fortunately I …

---

## [Current status of s(CASP)](https://swi-prolog.discourse.group/t/current-status-of-s-casp/9507)

<div class="topic-metadata">

**Author:** [@alanbur](https://swi-prolog.discourse.group/u/alanbur)\
**Replies:** 9\
**Last updated:** [June 19, 2026, 1:45pm UTC](https://swi-prolog.discourse.group/t/current-status-of-s-casp/9507 "2026-06-19T13:45:14Z")

</div>

I’m considering using the s(CASP) pack for rules-based fault diagnosis. However I’m wondering what the current status is - the docs seem kinda sparse, the only comprehensive ones I’ve been able to find are on the SWISH s…

---

## [GCC 16 and PGO](https://swi-prolog.discourse.group/t/gcc-16-and-pgo/9705)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 0\
**Last updated:** [June 19, 2026, 9:59am UTC](https://swi-prolog.discourse.group/t/gcc-16-and-pgo/9705 "2026-06-19T09:59:46Z")

</div>

Fedora 44 ships with GCC 16. This is quite a step from GCC 15. Notably, PGO gives barely any improvement running the benchmarks it was trained on and seems to slow down other Prolog programs. For short, it is advise…

---

## [Towards signed releases for Windows](https://swi-prolog.discourse.group/t/towards-signed-releases-for-windows/9704)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 0\
**Last updated:** [June 19, 2026, 9:56am UTC](https://swi-prolog.discourse.group/t/towards-signed-releases-for-windows/9704 "2026-06-19T09:56:16Z")

</div>

Now that we have a signed installer for MacOS, the next step is to sign the Windows binary releases. SignPath provides a free service for acknowledged open source projects. I have implemented the requirements. In p…

---

## [XPCE PDF function](https://swi-prolog.discourse.group/t/xpce-pdf-function/9625)

<div class="topic-metadata">

**Author:** [@karl\_popp](https://swi-prolog.discourse.group/u/karl_popp)\
**Replies:** 1\
**Last updated:** [June 17, 2026, 10:31am UTC](https://swi-prolog.discourse.group/t/xpce-pdf-function/9625 "2026-06-17T10:31:54Z")

</div>

I’m using: SWI-Prolog version 10.0.2 I want the code to: print a XPCE picture But what I’m getting is: not enogh parameters for PDF, only prints the visible part of the picture, not the full picture My code looks like…

---

## [Recursion optimization and stack overflow from version 10.0.0](https://swi-prolog.discourse.group/t/recursion-optimization-and-stack-overflow-from-version-10-0-0/9643)

<div class="topic-metadata">

**Author:** [@sgodoyc](https://swi-prolog.discourse.group/u/sgodoyc)\
**Replies:** 8\
**Last updated:** [June 15, 2026, 3:05pm UTC](https://swi-prolog.discourse.group/t/recursion-optimization-and-stack-overflow-from-version-10-0-0/9643 "2026-06-15T15:05:59Z")

</div>

Greetings, I was teaching a student how to transform code with stack recursion to tail recursion and then I noticed that version 10.0+ has a somewhat different recursion optimization than version 9.0+ Goals that used t…

---

## [Ann: SWI-Prolog 10.1.9](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-9/9699)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 0\
**Last updated:** [June 15, 2026, 2:37pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-9/9699 "2026-06-15T14:37:21Z")

</div>

SWI-Prolog Changelog since version 10.1.8 This release is dominated by work on the new SDL3-based xpce backend and the modernization of the xpce reference manual. The bulk of the user-visible changes live in xpce; the…

---

## [Ann: SWI-Prolog 10.1.8](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-8/9635)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 4\
**Last updated:** [June 15, 2026, 11:29am UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-10-1-8/9635 "2026-06-15T11:29:06Z")

</div>

Dear SWI-Prolog user, SWI-Prolog 10.1.8 is ready for download. This is a stabilising release on top of the large Unicode overhaul shipped in 10.1.7. The main themes are tightening up the Unicode source syntax (brack…

[Previous page](https://swi-prolog.discourse.group/latest.md?page=2)

[Next page](https://swi-prolog.discourse.group/latest.md?page=4)
