2 ms·
> A language where the program is constructed by editing a running process in-place with a debugger/IDE, then the process is "saved" as an executable. Others m
by TeMPOraL 8y ago
> A language where the program is constructed by editing a running process in-place with a debugger/IDE, then the process is "saved" as an executable.
Others mentioned Smalltalk, but this is exactly how Common Lisp, and many (most) other Lisps work.
In Common Lisp, you start with a process that has a compiler (or interpreter, depending on implementation) and a REPL, and everything you do from there is modifying that process, called "an image". After you're done, you can dump the image into a standalone executable (but unless you're distributing executables or care about startup time, it's not something you'll likely do). Source code in Lisp is really a set of operations you do on that image.
- cwp 8y agoSorry, I should have given more detail. Both Smalltalk and Lisp use reflection for editing in place. The IDE, or REPL, is part of the process being edited. I'd like to use an external debugger, based on ptrace or the like, to accomplish the same development style, but without (necessarily) having any reflection in the program being developed, and without the need for tooling code comingled with program code.