Re:Wisp: A light Lisp written in C++
by capableweb on Monday December 28, 2020 @11:09AM
(#25560301)
> I don't think monkey patching is required
We're talking about a repl here, not just a basic shell. You'll need to be able to redefine functions and everything else at runtime so a repl is all you need to run your program. A lisp with a standard repl is running miles around any editor/ide with debugger support, as the workflow with repls, especially ones that can nest on exception and so on, is much faster.
A cycle that went something like:
You could have a few basic commands in the repl:Modify the compiler args Add/remove/edit a line Attach gdb.
Emacs or vim could easily do this, and I suspect there are people who already do almost exactly this.
You could also just use any editor/ide with debug integration and keep a scratch file around...