tonyg / syndicate

syn·di·cate: a language for interactive programs
http://syndicate-lang.org/
GNU Lesser General Public License v3.0
152 stars 11 forks source link

No way to `quit` a whole world #6

Open tonyg opened 9 years ago

tonyg commented 9 years ago

Once spawned, a nested world will not terminate. What would make a good interface to signal that a world should exit? I can think of three options:

The last is likely most practical, but it seems very... abrupt! Perhaps it could be broadened into a shutdown protocol, like that used by operating systems. (This gives us a hook for "suspend-to-disk" later.)

Open questions:

tonyg commented 8 years ago

I've added (quit-world) actions, as a stop-gap, but it's definitely not a clean design yet.