# Resources

**URL:** https://swi-prolog.discourse.group/c/resources/10.md?page=1

[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:** 2

---

## [Seek library like dcg/basics with predicates returning difference list](https://swi-prolog.discourse.group/t/seek-library-like-dcg-basics-with-predicates-returning-difference-list/1808)

<div class="topic-metadata">

**Author:** [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 1:54pm UTC](https://swi-prolog.discourse.group/t/seek-library-like-dcg-basics-with-predicates-returning-difference-list/1808 "2020-01-31T13:54:40Z")

</div>

Does a variation of the library dcg/basics exist with the predicates returning a difference list (partial list or open list) instead of a closed list?

---

## [Lazy streams (and delimited continuations)](https://swi-prolog.discourse.group/t/lazy-streams-and-delimited-continuations/1813)

<div class="topic-metadata">

**Author:** [@esad](https://swi-prolog.discourse.group/u/esad)\
**Replies:** 3\
**Last updated:** [February 1, 2020, 5:27pm UTC](https://swi-prolog.discourse.group/t/lazy-streams-and-delimited-continuations/1813 "2020-02-01T17:27:53Z")

</div>

I’m trying to use lazy streams from https://github.com/ptarau/AnswerStreamGenerators to implement a simple example, in which first stream of nats is offset by some number, then the two streams are added up. I tried: nat…

---

## [Generating xref info with term expansions?](https://swi-prolog.discourse.group/t/generating-xref-info-with-term-expansions/1372)

<div class="topic-metadata">

**Author:** [@peter.ludemann](https://swi-prolog.discourse.group/u/peter.ludemann)\
**Replies:** 9\
**Last updated:** [January 15, 2020, 3:16pm UTC](https://swi-prolog.discourse.group/t/generating-xref-info-with-term-expansions/1372 "2020-01-15T15:16:29Z")

</div>

It appears that library(prolog\_xref) doesn’t do term expansion (at least when I ran it, it didn’t find any of the predicates that had been created by term expansion). Is there a way to do cross-referencing of term-expand…

---

## [Prolog in Prolog revisited](https://swi-prolog.discourse.group/t/prolog-in-prolog-revisited/1751)

<div class="topic-metadata">

**Author:** [@kuniaki.mukai](https://swi-prolog.discourse.group/u/kuniaki.mukai)\
**Replies:** 7\
**Last updated:** [January 15, 2020, 1:38pm UTC](https://swi-prolog.discourse.group/t/prolog-in-prolog-revisited/1751 "2020-01-15T13:38:52Z")

</div>

I wrote a small “Prolog in Prolog” interpreter based on clause/2 to fix a strange bug in my CGI in prolog. After fixing the trouble I wanted to extend a little bit the interpreter to cover the “deep cut (!)” for future …

---

## [Almost A\* Search for Planning: SWISH Notebook](https://swi-prolog.discourse.group/t/almost-a-search-for-planning-swish-notebook/1001)

<div class="topic-metadata">

**Author:** [@PaulBrownMagic](https://swi-prolog.discourse.group/u/PaulBrownMagic)\
**Replies:** 0\
**Last updated:** [July 28, 2019, 4:54pm UTC](https://swi-prolog.discourse.group/t/almost-a-search-for-planning-swish-notebook/1001 "2019-07-28T16:54:35Z")

</div>

A SWISH notebook. I do a lot with situations and actions so was wanting to investigate using A\* search to get from an initial situation to a goal situation, thought it may be of interest to some of you as well. I say i…

---

## [Error message instead of discontigous warning](https://swi-prolog.discourse.group/t/error-message-instead-of-discontigous-warning/1391)

<div class="topic-metadata">

**Author:** [@mgondan](https://swi-prolog.discourse.group/u/mgondan)\
**Replies:** 2\
**Last updated:** [October 15, 2019, 9:34am UTC](https://swi-prolog.discourse.group/t/error-message-instead-of-discontigous-warning/1391 "2019-10-15T09:34:39Z")

</div>

Windows 32 Bit, SWI-prolog 8.1.15 Dear programmers, I start SWIPL, then File/New… and then I type the following little program: % :- discontiguous a/0. a. b. a. Then I try to compile with Ctrl-C Ctrl-B. I get the …

---

## [Fast Hash Tables](https://swi-prolog.discourse.group/t/fast-hash-tables/1082)

<div class="topic-metadata">

**Author:** [@JasonSome](https://swi-prolog.discourse.group/u/JasonSome)\
**Replies:** 10\
**Last updated:** [August 18, 2019, 2:12pm UTC](https://swi-prolog.discourse.group/t/fast-hash-tables/1082 "2019-08-18T14:12:28Z")

</div>

Greetings, everybody! I would like to ask if you know of any library anywhere that has got efficient (amortized constant time) Hash Tables. I am in dire need of a Hash Table for SWI Prolog, and it will contain 10k-700k k…

---

## [Qsave\_program using foreign(save)](https://swi-prolog.discourse.group/t/qsave-program-using-foreign-save/1077)

<div class="topic-metadata">

**Author:** [@Nilsa](https://swi-prolog.discourse.group/u/Nilsa)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 9:51am UTC](https://swi-prolog.discourse.group/t/qsave-program-using-foreign-save/1077 "2019-08-16T09:51:33Z")

</div>

I’m using swi-prolog version 8.0.3 on Windows 10. I used qsave\_program('my\_app.exe', \[autoload(false), stand\_alone(true), toplevel(prolog), foreign(save)\]) to generate my executable. When I execute my application I …

---

## [CLPFD: Introduction to Solving Problems with Limited Resources (SWISH)](https://swi-prolog.discourse.group/t/clpfd-introduction-to-solving-problems-with-limited-resources-swish/1002)

<div class="topic-metadata">

**Author:** [@PaulBrownMagic](https://swi-prolog.discourse.group/u/PaulBrownMagic)\
**Replies:** 0\
**Last updated:** [July 29, 2019, 4:03pm UTC](https://swi-prolog.discourse.group/t/clpfd-introduction-to-solving-problems-with-limited-resources-swish/1002 "2019-07-29T16:03:41Z")

</div>

Whenever I’ve bumped into tutorials on using library(clpfd), they always seem to be solving something like a Sudoku puzzle or fathing about with a bunch of queens. Never having seen any application of library(clpfd) that…

---

## [Generate diagrams for your Prolog module applications](https://swi-prolog.discourse.group/t/generate-diagrams-for-your-prolog-module-applications/543)

<div class="topic-metadata">

**Author:** [@pmoura](https://swi-prolog.discourse.group/u/pmoura)\
**Replies:** 1\
**Last updated:** [April 21, 2019, 2:35pm UTC](https://swi-prolog.discourse.group/t/generate-diagrams-for-your-prolog-module-applications/543 "2019-04-21T14:35:39Z")

</div>

As some of you are aware, Logtalk diagrams tool also supports generating diagrams for Prolog module applications. Work is under way on a new version of the tool, which you can preview using the current Logtalk git versio…

---

## [Does anyone have Node-swipl reference implentation](https://swi-prolog.discourse.group/t/does-anyone-have-node-swipl-reference-implentation/532)

<div class="topic-metadata">

**Author:** [@ielbert](https://swi-prolog.discourse.group/u/ielbert)\
**Replies:** 1\
**Last updated:** [April 13, 2019, 12:37pm UTC](https://swi-prolog.discourse.group/t/does-anyone-have-node-swipl-reference-implentation/532 "2019-04-13T12:37:00Z")

</div>

Does anyone have a working node-swipl implementation I can look at? I want to see how it handles multiple user sessions. Our first version seems to have problems with session isolations and concurrency.

[Previous page](https://swi-prolog.discourse.group/c/resources/10.md)
