Re:A Road to Common Lisp
by reikonomusha on Wednesday May 22, 2024 @12:17AM
(#40437296)
This is a pretty reasonable approximation. The REPL is also the library-fetcher, program loader, compiler, debugger, disassembler, and profiler.
The REPL often is also the default debugger. On error one gets a debug REPL at the point of the error (no unwinding), one debug level deeper. The debug REPL is basically a normal REPL, but with some debug features (stack movement, ...) and the ability to call predefined restarts in the code.
The interactive mode of interpreted languages is more of a sandbox, from that perspective.