4 ms·
Repl? What modern language does not have a shell?
by AtNightWeCode 5y ago
Repl? What modern language does not have a shell?
- finder83 5y agoThe repl in Common Lisp is a persistent image that's actually running the program you're working on. You can inject functions, packages, change packages, debug, etc, all directly from the environment running the web server without restarting. It's more interactive development combined with hot reloading as opposed to a repl from other languages (though it does have a repl as well)
- pfdietz 5y agoAnd you can do things like redefine classes and all the extant instances of that class (or its subclasses) automatically are updated. The general workflow is: compile and load your program and tests, run the tests, change the code and tests, recompile and reload changed files (using an internal dependency manager that is something like a make system), and continue. The focus on the repl is a bit misleading, since all the changes are off in files. I mean, you CAN type in a new function definition to the repl, but there's not much point.