Pyli/Variables
From Jonathan Gardner's Tech Wiki
Contents |
[edit] *calling-env*
This is the environment of the caller. For instance, the following expression would show the foo of the caller:
(el *calling-env* &foo)
See also: Pyli/Scoping, Environment, *env*, *global-env*
[edit] *current-condition*
The current condition, if a condition is being handled.
See: Conditions
[edit] *debug*
Setting *debug* makes the interpreter run in debug mode.
- Tail recursion no longer occurs, making stack traces more comprehensible.
- Debugging hooks are called.
[edit] *env*
The current environment.
See also: Pyli/Scoping, Environment, *calling-env*, *global-env*
[edit] *global-env*
The top-level environment.
See also: Pyli/Scoping, Environment, *calling-env*, *env*
[edit] *signal-handler*
The signal handler. You'll need to override this with your own unless you like the default behavior.
See Conditions
[edit] *stack*
This is the actual stack. Although you cannot push new items on the stack or modify existing items, you can remove items. You may also replace the stack.
(TODO: May allow stack frames to be moved between stacks, and perhaps the creation of stack frames.)

