Readlisp is a Linux utility that provides line editing and history for Scheme REPLs. It was written because I found myself avoiding using ' for quote with when using Vanity Scheme's REPL.
Compared to GNU Readline + rlwrap, it correctly matches parentheses for Scheme expressions, that is these inputs are considered unbalanced by rlwrap but balanced by readlisp.
> (display 'Hello)
> (display #\))
> (display (quote |)|))
Also, it initially refuses to submit unbalanced inputs, though this can be overridden by hitting enter twice. The refusal to submit will in future be replaced with a multiline editor.
make
sudo make install
readlisp <command> <args> ...
- Pesudoterminal
- Readlisp as a Library
- Capture stdout and stderr from child
- Child Prompt Sequences
- SIGWINCH handling
- Multiline Editing
- Paste Sequences