-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
abcl-introspect: home symbols in ABCL-INTROSPECT/SYSTEM
Name exported symbols explictly as such. Add packages.lisp unit to assist the eventual move all of abcl-introspect.lisp as homed in ABCL-INTROSPECT/SYSTEM so we can distinguish between the ABCL core functionality and that provided for by ABCL-INTROSPECT. For now, we just define the dictionary necessary for inspecting interpreted forms in this manner. Use a local function for the one-off STACK-TO-LIST.
- Loading branch information
Showing
3 changed files
with
73 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(defpackage abcl-introspect/system | ||
(:nicknames #:abcl-introspect/sys) | ||
(:use :common-lisp) | ||
(:export | ||
#:*debugging-locals-p* | ||
#:find-locals)) | ||
|
||
;;; Import and externalize all external symbols of | ||
;;; ABCL-INTROSPECT/SYSTEM from the SYSTEM package. Following this | ||
;;; discipline will allow us to sanely determine what symbols | ||
;;; ABCL-INTROSPECT adds to SYSTEM. | ||
;;; | ||
;;; TODO: do this for the rest of abcl-introspect.lisp and | ||
;;; stacktrace.lisp | ||
(eval-when (:compile-toplevel :load-toplevel) | ||
(loop :for symbol :being :the :external-symbols :of :abcl-introspect/system | ||
:doing | ||
(import symbol :system) | ||
(export symbol :system))) | ||
|