Now we also need a tty or something like that, to archive what emacs can do. I am not sure it's gonna be very easy with AS compared to a built-in language, since now you need to have a script running in a loop as well, keeping the necessary state-variables (i.e. pipes for the interpreter or similar), and talking to both TM and the interpreter.