summaryrefslogtreecommitdiff
path: root/libguile/objcodes.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2008-10-24 11:36:59 +0200
committerAndy Wingo <wingo@pobox.com>2008-10-25 22:58:48 +0200
commit20bdc71054e6917442097e18de208ca8db89b5fd (patch)
tree74510b2b0b9fc4dece7fd492a190d15c12ae341c /libguile/objcodes.h
parent1086fabdc9452846f1b269da7faf2022b5cc7472 (diff)
downloadguile-20bdc71054e6917442097e18de208ca8db89b5fd.tar.gz
add `compile-time-environment'
* ice-9/boot-9.scm (compile-time-environment): New function, with documentation. The trick is that the compiler recognizes calls to (compile-time-environment) and replaces it with a representation of the *available* lexicals. Note that this might not be all the lexicals; only the heap-allocated ones are returned. * module/language/scheme/translate.scm (custom-transformer-table): Compile `compile-time-environment' to <ghil-reified-env>. * module/system/il/compile.scm (codegen): Add <ghil-reified-env> clause, which calls ghil-env-reify. * module/system/il/ghil.scm (ghil-env-reify): New procedure, returns a list of (NAME . EXTERNAL-INDEX). (<ghil>): Add <ghil-reified-env> object.
Diffstat (limited to 'libguile/objcodes.h')
0 files changed, 0 insertions, 0 deletions