It'd be nice is someone made a general text editor that was also embeddedable and could also live edit itself (or the program it's running in). The closest I've seen is Nightlight https://sekao.net/nightlight/
But it's not really "general purpose" like Emacs w/ Elisp and it's pretty Clojure specific