Next: Inputting, compiling and loading REDUCE files, Previous: Running complete REDUCE programs, Up: Running REDUCE in an Emacs window [Contents][Index]
When developing REDUCE code, it may be convenient to be able to test
fragments by inputting them into REDUCE. The following commands are
intended to be used in a REDUCE mode buffer to send code to a
REDUCE process buffer. They all use switch-to-reduce
to
decide where to send the code. With a prefix argument, the commands
also explicitly switch to the REDUCE process window.
This command sends the code between the beginning of the statement before point and point to REDUCE. The assumption is that point is at the end of a REDUCE statement, but this is not checked so it is possible to send an incomplete statement.
This command sends the code in the selected region to REDUCE.
This command sends the procedure definition before or containing point to REDUCE.