NanoProlog: Very small interpreter for a Prolog-like language

[ bsd3, language, library, program ] [ Propose Tags ]

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 royals.pro contains a description of part of the Dutch royal family, whereas the file tc.pro shows unification at work in a very small type inferencer.


[Skip to Readme]

Modules

[Last Documentation]

  • Language
    • Prolog
      • NanoProlog
        • Language.Prolog.NanoProlog.Interpreter
        • Language.Prolog.NanoProlog.NanoProlog

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.3.1, 0.2.3.2, 0.2.3.3, 0.3
Dependencies base (>=4.0 && <5), containers (>=0.4 && <0.5), haskell98 (>=1.1.0.1), ListLike (>=3.1 && <3.2), uu-parsinglib (>=2.7.1) [details]
License BSD-3-Clause
Author Doaitse Swierstra, Jurriën Stutterheim
Maintainer Jurriën Stutterheim <j.stutterheim@uu.nl>
Category Language
Source repo head: git clone https://github.com/norm2782/NanoProlog.git
Uploaded by DoaitseSwierstra at 2011-10-18T15:04:05Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables nano-prolog
Downloads 10325 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-26 [all 8 reports]

Readme for NanoProlog-0.2.3

[back to package description]
NanoProlog README goes here.