sbcl-introspect-environment
Common Lisp environment introspection portability layer
This library is a small interface to portable but nonstandard introspection of Common Lisp environments. It is intended to allow a bit more compile-time introspection of environments in Common Lisp.
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 Common Lisp 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.
- Versions: 0.1-2.8fb20a1
- Website: https://github.com/Bike/introspect-environment
- Licenses: WTFPL 2
- Package source: gnu/packages/lisp-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of sbcl-introspect-environment
as follows:
guix install sbcl-introspect-environment
Or install a particular version:
guix install sbcl-introspect-environment@0.1-2.8fb20a1
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.
Badge code
You can use the following badge to inform users of sbcl-introspect-environment about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/sbcl-introspect-environment'><img src='https://packages.guix.gnu.org/packages/sbcl-introspect-environment/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/sbcl-introspect-environment)
Example Org:
[[https://packages.guix.gnu.org/packages/sbcl-introspect-environment][https://packages.guix.gnu.org/packages/sbcl-introspect-environment/badges/latest-version.svg]]