Browse code
Update README
Yang Xiaofeng authored on 25/03/2013 14:09:47
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -68,29 +68,25 @@ |
68 | 68 |
;;; ******************************** |
69 | 69 |
;;; Sample Run ********************* |
70 | 70 |
;;; ******************************** |
71 |
-> (load "ops") |
|
72 |
-;;; Loading binary file "ops.hbin" |
|
73 |
-#P"/afs/andrew.cmu.edu/scs/cs/15-381/ops5v1/ops.hbin" |
|
74 |
-> (in-package "OPS") |
|
75 |
-#<Package "OPS" 40242A7E> |
|
76 |
-> (load-ops) |
|
77 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-globals.hbin" |
|
78 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-util.hbin" |
|
79 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-backup.hbin" |
|
80 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-compile.hbin" |
|
81 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-main.hbin" |
|
82 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-match.hbin" |
|
83 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-io.hbin" |
|
84 |
-;;; Loading binary file "/afs/andrew.cmu.edu/scs/cs/15-381/ops5/ops-rhs.hbin" |
|
85 |
-NIL |
|
86 |
-> (load "../ops/auto.ops") |
|
87 |
-;;; Loading source file "../ops/auto.ops" |
|
88 |
-;;; Warning: File "../ops/auto.ops" does not begin with IN-PACKAGE. Loading into package "OPS" |
|
71 |
+CL-USER> (ql:quickload "ops5") |
|
72 |
+To load "ops5": |
|
73 |
+ Load 1 ASDF system: |
|
74 |
+ ops5 |
|
75 |
+; Loading "ops5" |
|
76 |
+......................... |
|
77 |
+("ops5") |
|
78 |
+CL-USER> (in-package "OPS") |
|
79 |
+#<Package "OPS"> |
|
80 |
+OPS> (load (merge-pathnames "../demo/auto.ops" *ops-code-directory*)) |
|
81 |
+Resetting OPS5 interpreter: |
|
82 |
+ |
|
83 |
+ deleting productions, working memory, etc. |
|
84 |
+Common Lisp OPS5 interpreter, version 19-OCT-92. |
|
89 | 85 |
****************** |
90 |
-#P"/afs/andrew.cmu.edu/scs/cs/15-381/ops/auto.ops" |
|
91 |
-> (make ready) |
|
86 |
+#P"/home/nakrakiiya/quicklisp/local-projects/ops5/demo/auto.ops" |
|
87 |
+OPS> (make ready) |
|
92 | 88 |
NIL |
93 |
-> (run) |
|
89 |
+OPS> (run) |
|
94 | 90 |
|
95 | 91 |
|
96 | 92 |
Automobile Diagnosis |
... | ... |
@@ -117,5 +113,5 @@ end -- explicit halt |
117 | 113 |
4 mean conflict set size (7 maximum) |
118 | 114 |
10 mean token memory size (17 maximum) |
119 | 115 |
NIL |
120 |
-> |
|
116 |
+OPS> |
|
121 | 117 |
;;; *EOF* |