NanoProlog: Very small interpreter for a Prolog-like language

[ bsd3, language, library, program ] [ Propose Tags ]
Versions 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.2.1, 0.2.2, 0.2.3,,,, 0.3
Dependencies base (>=4.0 && <5), containers (==0.4.*), ListLike (==3.1.*), uu‑parsinglib (>=2.7.1) [details]
License BSD-3-Clause
Author Doaitse Swierstra, Jurriën Stutterheim
Maintainer Jurriën Stutterheim <>
Category Language
Source repo head: git clone
Uploaded by JurrienStutterheim at Wed Oct 19 00:22:53 UTC 2011
Distributions NixOS:0.3
Executables nano-prolog
Downloads 4925 total (40 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

This package was developed to demonstrate the ideas behind the Prolog language. It contains a very small interpreter (Language.Prolog.Nanoprolog) which can be run on its own. It reads a file with definitions, and then prompts for a goal. All possibe solutions are printed, preceded by a tree showing which rules were applied in which order.

The file contains a description of part of the Dutch royal family, whereas the file shows unification at work in a very small type inferencer.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for NanoProlog-

[back to package description]
NanoProlog README goes here.