1 ;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: package.lisp
6 ;;;; Purpose: Package definition for hyperobject package
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Apr 2000
10 ;;;; $Id: package.lisp,v 1.43 2003/04/24 07:00:02 kevin Exp $
12 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
13 ;;;; *************************************************************************
15 (eval-when (:compile-toplevel :execute)
16 (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2))))
21 (eval-when (:compile-toplevel :load-toplevel :execute)
22 (if (find-package 'sb-mop)
23 (pushnew :kmr-sbcl-mop cl:*features*)
24 (pushnew :kmr-sbcl-pcl cl:*features*)))
27 (eval-when (:compile-toplevel :load-toplevel :execute)
28 (if (find-package 'mop)
29 (pushnew :kmr-cmucl-mop cl:*features*)
30 (pushnew :kmr-cmucl-pcl cl:*features*)))
33 (defpackage #:hyperobject
35 (:use #:common-lisp #:kmrcl
36 #+kmr-sbcl-mop #:sb-mop
44 #:hyperobject-class-user-name
48 #:processed-queued-definitions
51 (defpackage #:hyperobject-user
52 (:nicknames #:ho-user)
53 (:use #:hyperobject #:cl #:cl-user))
56 (eval-when (:compile-toplevel :load-toplevel :execute)
59 '(excl::compute-effective-slot-definition-initargs)
61 '(clos::compute-effective-slot-definition-initargs)
63 '(sb-pcl::compute-effective-slot-definition-initargs)
65 '(sb-pcl:class-of sb-pcl:class-name sb-pcl:class-slots sb-pcl:find-class
66 sb-pcl::standard-class
67 sb-pcl:slot-definition-name sb-pcl::finalize-inheritance
68 sb-pcl::standard-direct-slot-definition
69 sb-pcl::standard-effective-slot-definition sb-pcl::validate-superclass
70 sb-pcl::direct-slot-definition-class sb-pcl::compute-effective-slot-definition
71 sb-pcl::compute-effective-slot-definition-initargs
72 sb-pcl::slot-value-using-class
73 sb-pcl:class-prototype sb-pcl:generic-function-method-class sb-pcl:intern-eql-specializer
74 sb-pcl:make-method-lambda sb-pcl:generic-function-lambda-list)
76 '(pcl::compute-effective-slot-definition-initargs)
78 '(pcl:class-of pcl:class-name pcl:class-slots pcl:find-class pcl::standard-class
79 pcl::slot-definition-name pcl:finalize-inheritance
80 pcl::standard-direct-slot-definition pcl::standard-effective-slot-definition
81 pcl::validate-superclass pcl:direct-slot-definition-class
82 pcl:compute-effective-slot-definition
83 pcl::compute-effective-slot-definition-initargs
84 pcl::slot-value-using-class
85 pcl:class-prototype pcl:generic-function-method-class pcl:intern-eql-specializer
86 pcl:make-method-lambda pcl:generic-function-lambda-list)
88 '(clos:class-slots clos::standard-class
89 clos::slot-definition-name clos:finalize-inheritance
90 clos::standard-direct-slot-definition clos::standard-effective-slot-definition
91 clos::validate-superclass clos:direct-slot-definition-class
92 clos:compute-effective-slot-definition
93 clos::compute-effective-slot-definition-initargs
94 clos::slot-value-using-class
95 clos::class-prototype clos:generic-function-method-class
96 ;; note: make-method-lambda is not fbound
97 clos:intern-eql-specializer clos:make-method-lambda
98 clos:generic-function-lambda-list)
103 (eval-when (:compile-toplevel :load-toplevel :execute)
104 (if (find-package 'sb-mop)
105 (setq cl:*features* (delete :kmr-sbcl-mop cl:*features*))
106 (setq cl:*features* (delete :kmr-sbcl-pcl cl:*features*))))