Chicken » Module (chicken csi)

## Module (chicken csi)

This module provides procedures to access features specific to the `csi` interactive interpreter.

### toplevel-command

toplevel-command SYMBOL PROC #!optional HELPSTRINGprocedure

  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

default-evaluator EXPRprocedure

  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 `csi`s toplevel commands and history management in user-defined read-eval-print loops.

### editor-command

editor-commandparameter

  Holds the name of an editor that should be used when the toplevel command `,e` is used.

Previous: Module (chicken continuation)

Next: Module (chicken errno)