Expand description
Loadable command-line REPL library for SIM.
The crate exports cli/main/repl as a kernel Function and exposes
eval_line for in-process tests of the read-eval-print core. The eval
stack stays outside this crate: the context must already contain the selected
codec, number domains, and runtime functions.
Structs§
- ReplLib
- Loadable REPL library.
Functions§
- eval_
line - Decodes, evaluates, and re-encodes one source line through
codec. - repl_
entrypoint_ symbol - Returns the function symbol exported for the bootloader handoff.
- run_
repl_ lines - Runs read-eval-print over
reader, writing one output line per non-empty input line.