Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the introspect-environment Reference Manual, version 0.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:53:08 2020 GMT+0.
• Introduction | What introspect-environment is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This library is intended to allow a bit more compile-time introspection of environments in CL.
Quite a bit of information is available at the time a macro or compiler-macro runs; inlining info, type declarations, that sort of thing. This information is all standard - any CL program can (declare (integer x)) and such.
This info ought to be accessible through the standard &environment parameters, but it is not. Several implementations keep the information for their own purposes but do not make it available to user programs, because there is no standard mechanism to do so.
This library uses implementation-specific hooks to make information available to users. This is currently supported on SBCL, CCL, and CMUCL. Other implementations have implementations of the functions that do as much as they can and/or provide reasonable defaults. typexpand and typexpand-1 are available for ABCL, Allegro, CLISP, ECL, and Lispworks, though the second return value may be off.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The introspect-environment system |
Bike <aeshtaer@gmail.com>
WTFPL
Small interface to portable but nonstandard introspection of CL environments.
0.1
sb-cltl2
introspect-environment.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The introspect-environment/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
introspect-environment.asd
introspect-environment (system)
Next: The introspect-environment/expander․lisp file, Previous: The introspect-environment․asd file, Up: Lisp files [Contents][Index]
introspect-environment (system)
package.lisp
Next: The introspect-environment/sbcl․lisp file, Previous: The introspect-environment/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
introspect-environment (system)
expander.lisp
valid-function-name-p (function)
Next: The introspect-environment/doc․lisp file, Previous: The introspect-environment/expander․lisp file, Up: Lisp files [Contents][Index]
expander.lisp (file)
introspect-environment (system)
sbcl.lisp
Previous: The introspect-environment/sbcl․lisp file, Up: Lisp files [Contents][Index]
sbcl.lisp (file)
introspect-environment (system)
doc.lisp
defdoc (macro)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The introspect-environment package |
package.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported macros | ||
• Exported functions |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Evaluate EXPR in an environment in which all optimization qualities (e.g. COMPILATION-SPEED) refer to their known values in ENV if possible.
For instance, (locally (optimize (speed 3) (space 0)) (policy (> speed space) env)) will evaluate to true (if supported).
sbcl.lisp (file)
Previous: Exported macros, Up: Exported definitions [Contents][Index]
As MACROEXPAND, but uses compiler macros rather than macros. (as a consequence of this, forms like (FUNCALL (FUNCTION FOO) ...) may be expanded with FOO’s compiler macro.)
expander.lisp (file)
As MACROEXPAND-1, but uses compiler macros rather than macros. (as a consequence of this, forms like (FUNCALL (FUNCTION FOO) ...) may be expanded with FOO’s compiler macro.)
expander.lisp (file)
Return a known supertype of the function named NAME in ENV.
sbcl.lisp (file)
Like PARSE-MACRO, but the lambda expression is suited for use as a compiler macro. Meaning it’s the same, except that if it’s provided a form beginning with FUNCALL to expand it will still destructure its arguments appropriately.
sbcl.lisp (file)
Return the value of QUALITY, an optimization quality (e.g. COMPILATION-SPEED) in ENV, if possible.
sbcl.lisp (file)
sbcl.lisp (file)
Return a known supertype of NAME, a variable, in ENV.
sbcl.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal macros | ||
• Internal functions |
Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
doc.lisp (file)
Previous: Internal macros, Up: Internal definitions [Contents][Index]
expander.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F I L |
---|
Jump to: | F I L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | C D F M P S V |
---|
Jump to: | C D F M P S V |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | I P S |
---|
Jump to: | I P S |
---|