Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Provisional API: This reference documents current compiler behavior. Compatibility is not yet promised.

src/repl.x

Terminal client for persistent compiler submissions.

Functions

FunctionSummary
repl_runRuns the experimental REPL on stdin.

Functions

repl_run

int repl_run(CliRequest request)

Runs the experimental REPL on stdin. Piped input continues after errors and exits with status one if any submission or command failed. Interactive errors leave the session usable; SIGINT retains its process-exit action.

Source: src/repl.x:62