The following keystrokes and commands provide various ways of sending code to a Guile client process for evaluation.
gds-eval-defun
).
gds-eval-last-sexp
). This is designed so that it is easy to
evaluate an expression that you have just finished typing.
gds-eval-expression
).
gds-eval-region
). Note that GDS does not check whether the
region contains a balanced expression, or try to expand the region so
that it does; it uses the region exactly as it is.
If you type C-u before one of these commands, GDS will
immediately pop up a Scheme stack buffer, showing the requested
evaluation, so that you can single step through it. (This is achieved
by setting a <source-trap>
trap at the start of the requested
evaluation; see Source Traps for more on how those work.) The
Scheme stack display, and the options for continuing through the code,
are described in the next two sections.