-
Notifications
You must be signed in to change notification settings - Fork 702
/
paip.asd
33 lines (28 loc) · 967 Bytes
/
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
(defpackage paip
(:use :cl)
(:shadow :defconstant)
(:export :requires :*paip-files* :do-examples :open-pdf))
(in-package :paip)
(defmacro defconstant (symbol value &optional doc)
(declare (cl:ignore doc))
`(cl:defconstant ,symbol
(or (and (boundp ',symbol)
(symbol-value ',symbol))
,value)))
(defclass paip-source-file (asdf:cl-source-file) ())
(defmethod asdf:perform :around ((o asdf:compile-op) (c paip-source-file))
(let ((*package* (find-package :paip)))
(call-next-method)))
(asdf:defsystem "paip"
:default-component-class paip-source-file
:version "0.1"
:author "Peter Norvig"
:license "MIT"
:serial t
:components ((:module "lisp"
:components
((:file "auxfns")
(:file "tutor")
(:file "examples")
(:file "open-pdf"))))
:description "Lisp code for the textbook \"Paradigms of Artificial Intelligence Programming\"")