The NanoProlog package

[Tags:bsd3, library, program]

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]

Properties

Versions 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.*), haskell98 (>=1.1.0.1), ListLike (==3.1.*), uu-parsinglib (>=2.7.1) [details]
License BSD3
Author Doaitse Swierstra, Jurriën Stutterheim
Maintainer Jurriën Stutterheim <j.stutterheim@uu.nl>
Stability Experimental
Category Language
Source repository head: git clone https://github.com/norm2782/NanoProlog.git
Uploaded Tue Oct 18 15:04:05 UTC 2011 by DoaitseSwierstra
Distributions NixOS:0.3
Downloads 2864 total (29 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 6 reports]

Modules

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for NanoProlog

Readme for NanoProlog-0.2.3

NanoProlog README goes here.