A simple Prolog Interpreter written in a few lines of Python 3
A simple Prolog Interpreter written in a few lines of Python 3. It runs a limited subset of Prolog and uses backtracking and generators in order to perform its magic. - photonlines/Python-Prolog-Interpreter
A simple Prolog Interpreter written in a few lines of Python 3 launched on March 15, 2019 with 149 votes, #179 of 2,994 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 7 years on.
In plain words
This is a Prolog interpreter implemented in Python 3 with minimal code. It allows developers to run Prolog programs without needing a full Prolog environment, making it useful for learning the language or integrating Prolog logic into Python projects. The interpreter handles basic Prolog syntax and unification, providing a lightweight alternative to traditional Prolog systems for those who prefer working within a Python ecosystem.
written from the facts on this page · September 2026
Does a similar job
all alternatives →- WAWriting an HTTP server in Prolog2016 · jamesbvaughan.com · ▲238
An encoding of the UK's self-isolation rules in Prolog2021 · github.com · ▲108An encoding of the UK's self-isolation rules in Prolog - jamespwilliams/prolog-isolation-checker
Prolog compiler and interpreter in pure JavaScript2015 · prolog.jldupont.com · ▲15Prolog Interpreter in Javascript
Making Python one-liner-fit with the new pwk (Python With Kurly braces)2020 · github.com · ▲84Python With Kurly braces. Contribute to umlet/pwk development by creating an account on GitHub.
LambdaLisp – A Lisp interpreter that runs on lambda calculus2022 · woodrush.github.io · ▲189A Lisp interpreter written as an untyped lambda calculus term
I wrote a BASIC interpreter in Go2018 · github.com · ▲144A BASIC interpreter written in golang. Contribute to skx/gobasic development by creating an account on GitHub.
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲345Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, March 2019
the whole month →- AR
Software and hardware projects for fun from a guy who loves retro computing
Life & fun · 2019 · internalregister.github.io
Accessible Brand Colors▲1,163A tool to make sure your brand colors are ADA compliant.
Dev tools · 2019 · abc.useallfive.com
Checklist Design▲1,158The best UI and UX practices for production ready design
Work · 2019 · checklist.design


