Module (chicken csi)
This module provides procedures to access features specific to the csi interactive interpreter.
toplevel-command
[procedure] (toplevel-command SYMBOL PROC [HELPSTRING])Defines or redefines a toplevel interpreter command which can be invoked by entering ,SYMBOL. PROC will be invoked when the command is entered and may read any required argument via read (or read-line). If the optional argument HELPSTRING is given, it will be listed by the ,? command.
set-describer!
default-evaluator
[procedure] (default-evaluator EXPR)Takes EXPR and processes any of the built-in toplevel commands provided by csi. If EXPR is not a toplevel command, then it is evaluated using eval. This procedure is intended to be passed as an argument to repl to allow using csis toplevel commands and history management in user-defined read-eval-print loops.
editor-command
[parameter] editor-commandHolds the name of an editor that should be used when the toplevel command ,e is used.
Previous: Module (chicken continuation)
Next: Module (chicken errno)