2 ms·
Separate exception catching from stack unwinding as in the Lisp condition system, where low-level code decides when to call high-level code and what options to
by Someone 12y ago
Separate exception catching from stack unwinding as in the Lisp condition system, where low-level code decides when to call high-level code and what options to present it, and the high-level code does whatever it wants to do and then picks an option.
That more or less gives you what Microsoft calls 'edit and continue' in every program, where your high-level code decides what code does the edit and decides on how to continue.
Some discussion with real-world usage scenarios at http://lambda-the-ultimate.org/node/1544 http://lambda-the-ultimate.org/node/1544. Example at http://c2.com/cgi/wiki?LispRestartExample http://c2.com/cgi/wiki?LispRestartExample