This commit is contained in:
Justin Ethier 2021-08-17 03:16:08 -04:00
parent 6414762bc6
commit 75062f1138

View file

@ -12,6 +12,7 @@ For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.p
- [`eval`](#eval)
- [`create-environment`](#create-environment)
- [`setup-environment`](#setup-environment)
- [`expand`](#expand)
# eval
@ -35,3 +36,9 @@ A non-standard function to create a new environment on top of the default one.
(setup-environment)
A non-standard function to initialize a new global environment.
# expand
(expand expr environment rename-environment)
Perform macro expansion on `expr` and `environment` is the current environment. `rename-environment` is an environment containing variables renamed directly by macros; this would generally be an empty environment when using this function for macro debugging.