mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Documented
This commit is contained in:
parent
2725e560da
commit
8bf804254a
1 changed files with 26 additions and 3 deletions
|
@ -4,6 +4,29 @@ The `(scheme eval)` library exports procedures for evaluating Scheme data as pro
|
|||
|
||||
For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.pdf).
|
||||
|
||||
- `eval`
|
||||
- `create-environment`
|
||||
- `setup-environment`
|
||||
- [`eval`] (#eval)
|
||||
- [`create-environment`](#create-environment)
|
||||
- [`setup-environment`] (#setup-environment)
|
||||
|
||||
#eval
|
||||
|
||||
(eval expr . environment)
|
||||
|
||||
Evaluate `expr` in the specified environment and return the resulting value(s).
|
||||
|
||||
A non-standard extension is provided to supply a default global environment if the `environment` argument is not specified.
|
||||
|
||||
#create-environment
|
||||
|
||||
(create-environment vars values)
|
||||
|
||||
A non-standard function to create a new environment on top of the default one.
|
||||
|
||||
`vars` is a list of identifiers in the new environment, and `values` is a list of each value assigned to each identifier.
|
||||
|
||||
#setup-environment
|
||||
|
||||
|
||||
(setup-environment)
|
||||
|
||||
A non-standard function to initialize a new global environment.
|
||||
|
|
Loading…
Add table
Reference in a new issue