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.


Properties

Versions0.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
Dependenciesbase (>=4.0 && <5), containers (==0.4.*), ListLike (==3.1.*), uu-parsinglib (>=2.7.1)
LicenseBSD3
AuthorDoaitse Swierstra, Jurriën Stutterheim
MaintainerJurriën Stutterheim <j.stutterheim@uu.nl>
StabilityExperimental
CategoryLanguage
Source repositoryhead: git clone https://github.com/norm2782/NanoProlog.git
Executablesnano-prolog
Upload dateThu Oct 20 10:14:08 UTC 2011
Uploaded byJurrienStutterheim
Downloads1132 total (74 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees