Hacker GitHub

← All repos

photonlines/Python-Prolog-Interpreter

View on GitHub ↗ ★ 252 Python

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.

6 mentions on Hacker News by 2 people: 2 stories, 4 comments · first 2019-03-03 · latest 2023-09-12

Mentions per year 6 mentions · busiest year 2019 (3)
20082026
  1. …in the 1970s. If you're interested in doing Prolog with Python, have a look at projects like: https://github.com/photonlines/Python-Prolog-Interpreter
    comment by pipo234 · 2023-09-12 · in The Power of Prolog
  2. …of Prolog using only a few lines of Python and if anyone is interested, you can find it here: https://github.com/photonlines/Python-Prolog-Interpreter
  3. …I wrote a mini-prolog interpreter in Python just over a year ago which you can check out here: https://github.com/photonlines/Python-Prolog-Interpreter
    comment by photon_lines · 2020-04-09 · in The Power of Prolog
  4. …in implementing a mini prolog interpreter...I made a toy one in python which you can find here: https://github.com/photonlines/Python-Prolog-Interpreter
    comment by photon_lines · 2019-12-12 · in P-99: Ninety-Nine Prolog Problems