forked from norm2782/NanoProlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NanoProlog.cabal
51 lines (45 loc) · 2.11 KB
/
NanoProlog.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: NanoProlog
Version: 0.3
Synopsis: Very small interpreter for a Prolog-like language
Description: 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.
License: BSD3
license-file: LICENSE
Author: Doaitse Swierstra, Jurriën Stutterheim
Maintainer: Jurriën Stutterheim <[email protected]>
Stability: Experimental
Category: Language
Build-type: Simple
Cabal-version: >= 1.6
Extra-Source-Files: README, royals.pro, tc.pro
Source-repository head
Type: git
Location: https://github.com/norm2782/NanoProlog.git
Executable nano-prolog
Hs-source-dirs: src
Main-is: Main.hs
Build-depends:
base >= 4 && < 5,
uu-parsinglib >= 2.7.1 && < 2.8
GHC-Options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind
Library
Build-Depends: base >= 4.0 && < 5.0,
uu-parsinglib >= 2.7.1 && < 2.8,
ListLike == 3.1.*,
containers == 0.4.*
Hs-Source-Dirs: src
Exposed-modules: Language.Prolog.NanoProlog.NanoProlog,
Language.Prolog.NanoProlog.Parser,
Language.Prolog.NanoProlog.Interpreter
Extensions: Rank2Types, FlexibleContexts, TypeSynonymInstances,
FlexibleInstances
GHC-Options: -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind