Expand description
kaish REPL — Interactive shell for 会sh.
This REPL provides an interactive interface to the kaish kernel. It handles:
- Multi-line input via keyword/quote balancing (if/for/while → fi/done)
- Tab completion for commands, variables, and paths
- Command execution via the Kernel
- Result formatting with OutputData
- Command history via rustyline
Modules§
- format
- Output formatting for the REPL.
Structs§
- Repl
- REPL configuration and state.
Enums§
- Process
Result - Result from processing a line of input.
Functions§
- os_
env_ vars - Snapshot the OS environment as a map of
String→Value::String. - run
- Run the REPL.
- run_
with_ overlay - Run the REPL with optional overlay mode.
- trace_
options_ from_ env - Build per-call trace context from the W3C environment variables an upstream
tracer sets before invoking kaish:
TRACEPARENT,TRACESTATE, andBAGGAGE(the W3Cbaggageheader format,key1=value1,key2=value2).