Skip to main content

Crate sim_lib_repl

Crate sim_lib_repl 

Source
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.