scheme.eval- R7RS eval
Exports bindings of R7RS
(scheme eval) library.
From R7RS programs,
those bindings are available by
(import (scheme eval)).
This is the same as Gauche’s built-in
eval (see Eval and repl).
This is R7RS way to create an environment specifier suitable to pass
eval. In Gauche, an environment specifier is just a
The argument is the same as what
This procedure creates an empty environment (as a fresh anonymous module;
make-module in Module introspection, for the details),
then imports the bindings as specified by import-lists.
The following example creates an environment that includes
scheme.base bindings plus
select-module syntax from Gauche.
(environment '(scheme base) '(only (gauche base) select-module)) ⇒ #<module #f> ; an anonymous module