-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstudy-paip.asd
143 lines (113 loc) · 6.15 KB
/
study-paip.asd
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; Copyright (c) 2014, 2015 Zlatozar Zhelyazkov
;;;; study-paip.asd: Defines loading order and dependencies.
;;;;
;;;; ATTENTION: There is no error if you pass invalid path to the lisp file - just
;;;; ASDF refuse to load 'study-paip' system.
(in-package :cl-user)
(asdf:defsystem #:study-paip
:name "study-paip"
:version "1.0"
:description "Source code from Peter Norvig's book
'Paradigms of Artificial Intelligence Programming'"
:author "Peter Norvig <peter@norvig.com>"
:maintainer "Zlatozar Zhelyazkov <zlatozar@gmail.com>"
:serial t
:components ((:file "aux-packages")
(:file "part-I-packages" :depends-on ("aux-packages"))
(:file "part-II-packages" :depends-on ("part-I-packages"))
(:file "part-III-packages" :depends-on ("part-II-packages"))
(:file "part-IV-packages" :depends-on ("part-III-packages"))
(:file "part-V-packages" :depends-on ("part-IV-packages"))
(:file "packages" :depends-on ("part-III-packages"))
;; Helper functions
(:file "tools/introspection" :depends-on ("packages"))
(:file "tools/test" :depends-on ("packages"))
(:file "auxfns" :depends-on ("packages"))
;; Book examples runner
(:file "tutor" :depends-on ("auxfns"))
;;; Book chapters
;; Chapter 1
(:file "ch01/intro" :depends-on ("auxfns"))
(:file "ch01/examples" :depends-on ("tutor" "ch01/intro"))
(:file "ch01/exercises" :depends-on ("tools/test" "ch01/intro"))
;; Chapter 2
(:file "ch02/simple")
(:file "ch02/examples" :depends-on ("tutor" "ch02/simple"))
(:file "ch02/exercises" :depends-on ("tools/test"))
;; Chapter 3
(:file "ch03/overview")
(:file "ch03/examples" :depends-on ("tutor" "ch03/overview"))
(:file "ch03/exercises" :depends-on ("tools/test" "ch03/overview"))
(:file "ch03/binary-tree" :depends-on ("tools/test" "auxfns"))
;; Chapter 4
(:file "ch04/gps1")
(:file "ch04/examples-gps1" :depends-on ("tutor" "ch04/gps1"))
(:file "ch04/gps" :depends-on ("ch04/gps1"))
(:file "ch04/examples-gps" :depends-on ("tutor" "ch04/gps"))
(:file "ch04/exercises" :depends-on ("tools/test"))
;; Common functions that will be used in Chapters 5 and 6
(:file "pat-base" :depends-on ("packages"))
;; Chapter 5
(:file "ch05/eliza1")
(:file "ch05/examples-eliza1" :depends-on ("tutor" "ch05/eliza1"))
(:file "ch05/eliza" :depends-on ("ch05/eliza1"))
(:file "ch05/examples-eliza" :depends-on ("tutor"))
(:file "ch05/exercises" :depends-on ("tools/test"))
;; Chapter 6
(:file "ch06/patmatch")
(:file "ch06/eliza-pm" :depends-on ("ch06/patmatch" "ch05/eliza"))
(:file "ch06/search")
(:file "ch06/gps-srch" :depends-on ("ch06/search" "ch04/gps"))
(:file "ch06/examples" :depends-on ("tutor" "ch06/patmatch"
"ch06/search"
"ch06/gps-srch"))
(:file "ch06/exercises" :depends-on ("tools/test"))
;; Chapter 7
(:file "ch07/student" :depends-on ("ch06/patmatch"))
(:file "ch07/examples" :depends-on ("tutor" "ch07/student"))
(:file "ch07/exercises" :depends-on ("tools/test"))
;; Chapter 8
(:file "ch08/math-patmatch")
(:file "ch08/macsyma" :depends-on ("ch08/math-patmatch"))
(:file "ch08/macsymar" :depends-on ("ch08/macsyma"))
(:file "ch08/examples" :depends-on ("tutor" "ch08/macsymar"))
(:file "ch08/exercises" :depends-on ("tools/test"))
;; Chapter 9
(:file "ch09/rule")
(:file "ch09/compilation" :depends-on ("ch09/rule"))
(:file "ch09/profile")
(:file "ch09/pipes")
(:file "ch09/examples" :depends-on ("tutor"))
(:file "ch09/exercises" :depends-on ("ch09/profile"))
;; Chapter 10
(:file "ch10/low-level")
(:file "ch10/trie")
(:file "ch10/exercises")
(:file "ch10/examples" :depends-on ("tutor"))
;; Chapter 11
(:file "ch11/unify" :depends-on ("ch06/patmatch"))
(:file "ch11/prolog1" :depends-on ("ch11/unify"))
(:file "ch11/examples-prolog1" :depends-on ("tutor" "ch11/prolog1"))
(:file "ch11/prolog" :depends-on ("ch11/unify"))
(:file "ch11/examples-prolog" :depends-on ("tutor" "ch11/prolog"))
(:file "ch11/exercises" :depends-on ("tools/test" "ch11/prolog"))
;; Chapter 12
(:file "ch12/prolog" :depends-on ("ch11/unify"))
(:file "ch12/prologc1" :depends-on ("ch12/prolog"))
(:file "ch12/prologc2" :depends-on ("ch12/prolog"))
(:file "ch12/prologc" :depends-on ("ch12/prolog"))
(:file "ch12/prologcp" :depends-on ("ch12/prologc"))
(:file "ch12/examples" :depends-on ("ch12/prologc" "ch12/prologcp"))
(:file "ch12/exercises" :depends-on ("ch12/prologc" "ch12/prologcp"))
;; Chapter 13
(:file "ch13/clos")
(:file "ch13/examples" :depends-on ("ch13/clos"))
;; Chapter 14
(:file "ch14/prolog")
(:file "ch14/krep1" :depends-on ("ch14/prolog"))
(:file "ch14/krep2" :depends-on ("ch14/krep1"))
(:file "ch14/krep" :depends-on ("ch14/krep2"))
(:file "ch14/examples-krep1" :depends-on ("ch14/krep1"))
(:file "ch14/examples-krep" :depends-on ("ch14/krep"))
))