Node:Evaluator Behaviour, Previous:Local Evaluation, Up:Read/Load/Eval



28.7 Evaluator Behaviour

The behaviour of Guile's evaluator can be modified by manipulating the evaluator options. For more information about options, See User level options interfaces. If you want to know which evaluator options are available, See Evaluator options.

eval-options [setting] Scheme Procedure
Display the current settings of the evaluator options. If setting is omitted, only a short form of the current evaluator options is printed. Otherwise, setting should be one of the following symbols:
help
Display the complete option settings.
full
Like help, but also print programmer options.

eval-enable option-name Scheme Procedure
eval-disable option-name Scheme Procedure
eval-set! option-name value Scheme Procedure
Modify the evaluator options. eval-enable should be used with boolean options and switches them on, eval-disable switches them off. eval-set! can be used to set an option to a specific value.

eval-options-interface [setting] Scheme Procedure
scm_eval_options_interface (setting) C Function
Option interface for the evaluation options. Instead of using this procedure directly, use the procedures eval-enable, eval-disable, eval-set! and eval-options.

traps [setting] Scheme Procedure
Display the current settings of the evaluator traps options. If setting is omitted, only a short form of the current evaluator traps options is printed. Otherwise, setting should be one of the following symbols:
help
Display the complete option settings.
full
Like help, but also print programmer options.

trap-enable option-name Scheme Procedure
trap-disable option-name Scheme Procedure
trap-set! option-name value Scheme Procedure
Modify the evaluator options. trap-enable should be used with boolean options and switches them on, trap-disable switches them off. trap-set! can be used to set an option to a specific value.

evaluator-traps-interface [setting] Scheme Procedure
scm_evaluator_traps (setting) C Function
Option interface for the evaluator trap options.