#Prolog

2026-02-04

@screwlisp @kentpitman regarding the discussion we had after the #LispyGopherClimate show ended, MiniKanren is logic programming language embedded in Scheme (sort-of like a Prolog implemented in Scheme and coded with S-expressions), and you can use machine leaning methods like neural networks to guide the search tree of the goal solver mechanism. This paper is an example of what I was talking about.

Even before LLMs were invented, MiniKanren was able to do program synthesis using purely symbolic logic. They developed a prototype called Barliman where you would provide example input->output pairs as constraints, and using a constraint solver, could generalize those examples to a function that generates any output for any input. As a simple example, you could give it the following input-output pairs:

  1. () -> ()
  2. (a) () -> (a)
  3. () (a) -> (a)
  4. (a) (a) -> (a a)

…and the constraint solver could determine that you are trying to implement the append function for lists and write the code automatically — without LLMs, using purely symbolic logic.

As you might expect, the solver could be very slow, or even diverge (never returning an answer). The paper I mentioned above talks about using neural networks to try to guide the constraint solver to improve the performance and usefulness of the results returned by the solver.

Now imagine applying this technique to other domains besides code generation or optimization, for example, auto-completion, or cache pre-fetching, and building it into a programmable computing environment like Emacs. You could have a tool like “Cursor,” but instead of using LLMs, it uses classical computing and constraint solvers, while taking a fraction of the amount of energy that LLMs use.

#tech #software #AI #LLM #MachineLearning #NeuralNetwork #ConstraintLogic #ConstraintSolver #LogicProgramming #Prolog #MiniKanren #Emacs #Lisp #Scheme #SchemeLang #ProgramSynthesis

Bozhidar Batsov (a.k.a. Bug)bbatsov@hachyderm.io
2026-01-24

The TIOBE index is often cited when people discuss programming language popularity, but it's ridiculously flawed. I mean, just take a look at the current data - according to it #Ruby and #TypeScript are less popular than #Cobol, #Prolog and Visual Basic…

Kegelrobbe 🦭Kegelrobbe@troet.cafe
2026-01-24

#Prolog

Warum schreibt der? Wie bin ich dazu gekommen jetzt, mit 61 noch anzufangen zu bloggen? Das man mit geschrieben Texten Menschen berühren kann, sieht man ja nicht nur bei den Buchmessen nicht nur in Deutschland. Angefangen hat es damit, dass die größte Schwester meiner Frau an Krebs verstarb. Sie war alleinstehend ohne eigene Familie, aber wie ihre Geschwister und damit ja auch meine Frau und ich sie auf ihrem letzen Weg, zuletzt auch im Hospiz, begleitet hat,…

betablogger.blog/2026/01/24/pr

2026-01-23

@amoroso

#prolog - makes me happy

2026-01-23

RE: fosstodon.org/@interlisp/11593

Fifth Generation Computer Systems ➝ Quintus Prolog: get it?

#prolog #interlisp #ai #retrocomputing

The Medley Interlisp Projectinterlisp@fosstodon.org
2026-01-22

In 1985 Xerox announced support for Prolog on its AI workstations and awarded development to Quintus, which delivered the Xerox Quintus Prolog implementation fully integrated with Interlisp-D.

bitsavers.org/pdf/xerox/interl

softwarepreservation.computerh

#ai #prolog #interlisp #retrocomputing

aparatorulaparatorul
2026-01-19

Secerișul acum s-a apropiat și sfârșit are chiar și viața noastră. lar, îngerii țin gata secerile, așteaptă doar porunca Să ne facem veghetori și să ne trezim ca niște nesomnoroși. Nu știm în care ceas Stăpânul va veni. Să ieșim de sub apăsarea celor pământești 👉 c.aparatorul.md/arz7k 👈
c.aparatorul.md/arz7k

2026-01-19

Logic programming with extensible types. ~ Ivan Perez, Angel Herranz. arxiv.org/abs/2601.03836v1 #Haskell #FunctionalProgramming #Prolog #LogicProgramming

N-gated Hacker Newsngate
2026-01-16

Ah, yes, the classic "I hate but let me ramble about it anyway" article, where standardized strings become the hill to die on. 🏔️😅 Because, obviously, the world needed another chapter of 'Why My Code Doesn't Work,' starring the ever-cryptic Prolog. 👨‍💻💥
buttondown.com/hillelwayne/arc

aparatorulaparatorul
2026-01-13

Secerișul acum s-a apropiat și sfârșit are chiar și viața noastră. lar, îngerii țin gata secerile, așteaptă doar porunca Să ne facem veghetori și să ne trezim ca niște nesomnoroși. Nu știm în care ceas Stăpânul va veni. Să ieșim de sub apăsarea celor pământești 👉 c.aparatorul.md/475t1 👈
c.aparatorul.md/475t1

Ted B. Falken, tu Asesor Extraño Clifford/🍩⇔☕️/🔻naikodemus.bsky.social@bsky.brid.gy
2026-01-12

#COBOL (*suspiro*), #Prolog (*ains*), #Simula67 (oh!), #Modula2 (ah!), #SML (+ #MoscowML y #PolyML), #APL (jijiji), #BASIC modernizao, #LISP, #C, #JULIA, ¡¡y #FORTRAN!!

2026-01-10

Coding exercise ———————– Given this map (you choose an input representation), assign colours to regions A–F so that no adjacent regions have the same colour. Choose your favourite prog language. #logicprogramming #computerscience #gofai Based on Triska's lovely #Prolog video youtu.be/6XD7vBbywMc

Pencil sketch of a map of rectangular regions, labelled A–F.

The regions are related as follows (adjacency works both ways, so redundant declarations are skipped):

A is adjacent to B, C, D, E.
B is adjacent to C, D, F.
C is adjacent to D.
D is adjacent to E, F.
E is adjacent to F.
2025-12-30

arxiv.org/abs/cs/0612082?utm_s

Developing efficient parsers in Prolog: the CLF manual (v1.0)

Colin MacleodCGM@mastodon.scot
2025-12-29

@profoundlynerdy @Lemmus Prolog == Programming in Logic - you tell it a collection of facts and logical rules, then ask it whether it can deduce a target fact by inference from those facts and rules. Great for certain types of problem, not great for others. Learning it will definitely expand your thinking. See en.wikipedia.org/wiki/Prolog .
#programming #prolog

Sencha Wizard 🧙‍♂️🍵senchawizard@mstdn.social
2025-12-27

hmm...spent a lot of time lately attempting to perfect my #CommonLisp skills. might spend a little bit of spare cycles to relearn #Prolog.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst