-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchap6.lisp
47 lines (35 loc) · 1.04 KB
/
chap6.lisp
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
(defvar quality-table
'((large . size)
(small . size)
(red . color)
(green . color)
(blue . color)
(shiny . luster)
(dull . luster)
(metal . material)
(plastic . material)
(cube . shape)
(sphere . shape)
(pyramid . shape)
(four-sided . shape)))
(defvar rooms
'((living-room (north front-stairs)
(south dining-room)
(east kitchen))
(upstairs-bedroom (west library)
(south front-stairs))
(dining-room (north living-room)
(east pantry)
(west downstairs-bedroom))
(kitchen (west living-room)
(south pantry))
(pantry (north kitchen)
(west dining-room))
(downstairs-bedroom (north back-stairs)
(east dining-room))
(back-stairs (south downstairs-bedroom)
(north library))
(front-stairs (north upstairs-bedroom)
(south living-room))
(library (east upstairs-bedroom)
(south back-stairs))))