Next:
Getting the same menu
Up:
Common Tools Abstractions
Previous:
Common Tools Abstractions
Evaluation
In order to evaluate programs that the user has implemented,
The text of the program is in a
text%
object, available from the
definitions-text
instance variable of the
drscheme:unit:frame%
class.
Use
drscheme:basis:process/zodiac
to process the text of the program.
For evaluation, use the function
drscheme:basis:initialize-parameters
.
Syntax errors are handled by raising a
exn:syntax
mz:exns
exception, see section of the MzScheme manual.
PLT