Loading defsystem.lisp +41 −3 Changes for defsystem.lisp: 41 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1001,6 +1001,39 @@ ;;; MAKE package. A nice side-effect is that the short nickname ;;; MK is my initials. ;;; Notes: ;;; 20220212 MA: Given the date, I am leaving the comment above, but I ;;; am removing the old cruft about DEFPACKAGE and IN-PACKAGE. ;;; If your CL implementation generates and error, you should upgrade ;;; or move to a more modern one. ;;; ;;; Bottom line: no DEFPACKAGE. (eval-when (:load-toplevel :compile-toplevel :execute) ; Sorry LUCID! (unless (find-package "MAKE") (let ((mk-pkg (make-package "MAKE" :nicknames '("MK") :use '("COMMON-LISP")))) (setf (documentation mk-pkg t) "The MAKE (MK-DEFSYSTEM) Package. This package contains the implementation of the venerable MK:DEFSYTEM tool. The main entry points are: - DEFSYSTEM - LOAD-SYSTEM - COMPILE-SYSTEM - FIND-SYSTEM - ADD-REGISTRY-LOCATIONS - LIST-CENTRAL-REGISTRY-DIRECTORIES - PRINT-CENTRAL-REGISTRY-DIRECTORIES " )))) (in-package "MAKE") #| 20220212 MA: Leave the code around just a bit... #+(or clisp cormanlisp ecl (and gcl defpackage) sbcl) (defpackage "MAKE" (:use "COMMON-LISP") (:nicknames "MK")) Loading Loading @@ -1076,6 +1109,7 @@ #+:abcl (in-package "MAKE") |# ;;; *** Marco Antoniotti <marcoxa@icsi.berkeley.edu> 19970105 ;;; 'provide' is not esternal in 'CLTL1' in Allegro v 4.1 Loading Loading @@ -3066,6 +3100,7 @@ in the system definitions.") (gethash path *file-load-time-table*))))))))) #| #-(or :cmu) (defsetf component-load-time (component) (value) `(when ,component Loading @@ -3092,9 +3127,8 @@ in the system definitions.") (setf (gethash path *file-load-time-table*) ,value))))))) ,value)) |# #+(or :cmu) (defun (setf component-load-time) (value component) (declare (type (or null string pathname component) component) (type (or unsigned-byte null) value)) Loading Loading @@ -6520,7 +6554,11 @@ or does not contain valid compiled code." ) (values result changed)) (eval-when (:load-toplevel :compile-toplevel :execute) (eval-when (:load-toplevel :execute) ;; Remove :compile-toplevel; SBCL does have a point. ;; (:load-toplevel :compile-toplevel :execute) (setf (symbol-function 'oos) (symbol-function 'operate-on-system))) Loading Loading
defsystem.lisp +41 −3 Changes for defsystem.lisp: 41 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1001,6 +1001,39 @@ ;;; MAKE package. A nice side-effect is that the short nickname ;;; MK is my initials. ;;; Notes: ;;; 20220212 MA: Given the date, I am leaving the comment above, but I ;;; am removing the old cruft about DEFPACKAGE and IN-PACKAGE. ;;; If your CL implementation generates and error, you should upgrade ;;; or move to a more modern one. ;;; ;;; Bottom line: no DEFPACKAGE. (eval-when (:load-toplevel :compile-toplevel :execute) ; Sorry LUCID! (unless (find-package "MAKE") (let ((mk-pkg (make-package "MAKE" :nicknames '("MK") :use '("COMMON-LISP")))) (setf (documentation mk-pkg t) "The MAKE (MK-DEFSYSTEM) Package. This package contains the implementation of the venerable MK:DEFSYTEM tool. The main entry points are: - DEFSYSTEM - LOAD-SYSTEM - COMPILE-SYSTEM - FIND-SYSTEM - ADD-REGISTRY-LOCATIONS - LIST-CENTRAL-REGISTRY-DIRECTORIES - PRINT-CENTRAL-REGISTRY-DIRECTORIES " )))) (in-package "MAKE") #| 20220212 MA: Leave the code around just a bit... #+(or clisp cormanlisp ecl (and gcl defpackage) sbcl) (defpackage "MAKE" (:use "COMMON-LISP") (:nicknames "MK")) Loading Loading @@ -1076,6 +1109,7 @@ #+:abcl (in-package "MAKE") |# ;;; *** Marco Antoniotti <marcoxa@icsi.berkeley.edu> 19970105 ;;; 'provide' is not esternal in 'CLTL1' in Allegro v 4.1 Loading Loading @@ -3066,6 +3100,7 @@ in the system definitions.") (gethash path *file-load-time-table*))))))))) #| #-(or :cmu) (defsetf component-load-time (component) (value) `(when ,component Loading @@ -3092,9 +3127,8 @@ in the system definitions.") (setf (gethash path *file-load-time-table*) ,value))))))) ,value)) |# #+(or :cmu) (defun (setf component-load-time) (value component) (declare (type (or null string pathname component) component) (type (or unsigned-byte null) value)) Loading Loading @@ -6520,7 +6554,11 @@ or does not contain valid compiled code." ) (values result changed)) (eval-when (:load-toplevel :compile-toplevel :execute) (eval-when (:load-toplevel :execute) ;; Remove :compile-toplevel; SBCL does have a point. ;; (:load-toplevel :compile-toplevel :execute) (setf (symbol-function 'oos) (symbol-function 'operate-on-system))) Loading