This is the trivial-toplevel-prompt Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:56:48 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-toplevel-promptPortability library to customize REPL prompts.
Artyom Bologov
(GIT https://github.com/aartaka/trivial-toplevel-prompt.git)
BSD-3 Clause
0.1.1
package.lisp (file).
prompt.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-toplevel-prompt/trivial-toplevel-prompt.asdtrivial-toplevel-prompt/package.lisptrivial-toplevel-prompt/prompt.lisptrivial-toplevel-prompt/trivial-toplevel-prompt.asdtrivial-toplevel-prompt (system).
trivial-toplevel-prompt/package.lisptrivial-toplevel-prompt (system).
trivial-toplevel-prompt/prompt.lisppackage.lisp (file).
trivial-toplevel-prompt (system).
reset-toplevel-prompt (function).
set-toplevel-prompt (function).
*previous-prompting-stack* (special variable).
shortest-package-nickname (function).
true (function).
Packages are listed by definition order.
trivial-toplevel-prompt‘trivial-toplevel-prompt’ is a library to customize REPL prompts.
The main entry point is ‘set-toplevel-prompt’, which redefines
implementation-specific prompts to follow a certain format.
‘reset-toplevel-prompt’ is an undo operation that restored the prompt to the state before the last ‘set-toplevel-prompt’ was invoked.
common-lisp.
reset-toplevel-prompt (function).
set-toplevel-prompt (function).
*previous-prompting-stack* (special variable).
shortest-package-nickname (function).
true (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Revert the prompt to the state before the last ‘set-toplevel-prompt’.
Redefine REPL prompt to be PROMPT-SPECIFIER.
PROMPT-SPECIFIER can be a
- String, which will be used as a format control.
- Function, which prints the prompt text to the supplied stream.
The arguments for format control or function are:
- Stream to print to. Only relevant for function, not supplied to
format control.
- Current process/thread name (string).
- Current package name (string).
- Current command number (nullable integer).
- NIL if there’s no command history for the implementation.
- Debug level (nullable integer).
- NIL if not in the debugger or unknown.
- Whether in the stepping loop (boolean).
- Whether in the inspect loop (boolean).
Always returns NIL.
A list of previous prompting states: replaced functions, rebound variables etc. Allows to restore the previous state of the prompt in ‘reset-toplevel-prompt’.
| Jump to: | F R S T |
|---|
| Jump to: | F R S T |
|---|
| Jump to: | *
S |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| * | |||
*previous-prompting-stack*: | Private special variables | ||
| | |||
| S | |||
Special Variable, *previous-prompting-stack*: | Private special variables | ||
| | |||
| Jump to: | *
S |
|---|
| Jump to: | F P S T |
|---|
| Jump to: | F P S T |
|---|