Right now, if we have a program in a tight loop without doing any keyboard input, or if we have a program doing a long SLEEP, it's impossible to stop it. We should modify the interpreter to recognize interrupts at arbitrary points.
I'm not yet sure if this would involve fixing the native implementation of various features to be truly async. Those implementations currently block and don't let us do other stuff while we wait -- which might prevent fixing this.
Right now, if we have a program in a tight loop without doing any keyboard input, or if we have a program doing a long
SLEEP, it's impossible to stop it. We should modify the interpreter to recognize interrupts at arbitrary points.I'm not yet sure if this would involve fixing the native implementation of various features to be truly async. Those implementations currently block and don't let us do other stuff while we wait -- which might prevent fixing this.