Teliva – an environment for end-user programming
github.com
github.com
The idea to put the program and runtime together in one unit was core to Smalltalk of course but with Pharo you can get also the "IDE part" bundled.
Once in a time there were even whole computers build on this concept: LISP-machines! Everything running on a LISP-machine is reachable and modifiable by the user (at runtime!) and you would have a build in IDE-like editing facility.
https://en.wikipedia.org/wiki/Genera_(operating_system)
> There is little protection against changing the operating system. The whole system is fully accessible and changeable.
DevTools in Browsers are today the closest thing to something like that I guess. But you can only edit a webpage. It's not going down to the level of the OS of course.
https://www.lexaloffle.com/pico-8.php
It's a virtual console, with each game released so that the source is available and editable by design. The IDE has an integrated code editor, sprite editor, and music editor. The console side has cloud access to download new games and demos.
Thinking back on it, QBasic might have created a generation of programmers -- you would copy a working game from a friend, and then try to modify the source code to let yourself cheat.
Teliva is basically providing better networking and disk support by compromising on the memory safety. (I'm back to depending hugely on C.)
QB64 has a compatible statement that supports the original modes: https://www.qb64.org/wiki/SCREEN_(statement)#Legacy_Screen_M...
Funny coincidence that it's build in Pharo which I've mentioned here in another comment. :-)