3 ms·
The difference, as I understand it, is that the REPL is the running Lisp, and all of its code. You can inspect or redefine any function inside of Lisp itself, l
by troad 2y ago
The difference, as I understand it, is that the REPL is the running Lisp, and all of its code. You can inspect or redefine any function inside of Lisp itself, live, no matter how integral, in the same way you input any of your own code.
The interactive mode of interpreted languages is more of a sandbox, from that perspective.
- reikonomusha 2y agoThis is a pretty reasonable approximation. The REPL is also the library-fetcher, program loader, compiler, debugger, disassembler, and profiler.
- lispm 2y agoThe 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.