New ask Hacker News story: Ask HN: Languages/environments with Common Lisp-like breakloops/interactivity?

Ask HN: Languages/environments with Common Lisp-like breakloops/interactivity?
2 by schemescape | 0 comments on Hacker News.
As far as I understand, Common Lisp's condition system and various dynamic features enable "breakloops" where you can interactively handle an error, including modifying code and re-running it without any restarts (see [1] for a better description of the workflow). This sounds fun and I'd like to try it, but first I'm trying to determine if Common Lisp is the only (or best) option for testing this out. Are there any other programming languages or development environments that support this? Here's what I've found so far: * Visual Studio's "edit and continue" feature for C/C++ might be similar * GNU Scheme might support runtime modifications without restarts (note: it seemed like most other Schemes didn't support this--not sure why) * Clojure's REPL might support this * Smalltalk (edit: forgot this one when I originally posted) I'm mostly just interested in seeing if this sort of functionality makes programming (subjectively) more productive/pleasant, and I think the best way is to just try it out. As an anecdote, I used to shy away from intelligent auto-complete, but now I consider it a requirement for hobby projects because it makes programming more enjoyable (no more constantly searching the docs to see what verb corresponds to "read", etc.). Edit to add: I'm looking for more than just an "eval" function. I want to be able to redefine functions while I'm handling an error , ideally even with editor support (a la Emacs SLIME and Common Lisp). [1] https://ift.tt/M5lTq7u

Comments