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
20082026
-
…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 -
…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
comment by photon_lines · 2023-09-01 · in The Janus System: Multi-Paradigm Programming in Prolog and Python -
…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 -
…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 -
▲ 149
Show HN: A simple Prolog Interpreter written in a few lines of Python 3story by photon_lines · 2019-03-15 · 20 comments
-
▲ 5
Mini-Prolog Interpreter Written in Python 3story by photon_lines · 2019-03-03 · 0 comments