2 ms·
Or my comment elsewhere in this thread about condition systems in Common Lisp and Dylan.
by BruceM 14y ago
Or my comment elsewhere in this thread about condition systems in Common Lisp and Dylan.
- astrobe_ 14y agoI said standard. Since that condition system is proper to Lisp, it is henceforth non-standard. And come on, you don't see setjump/longjump every 10 LOC, not even every 10 source file.
- BruceM 14y agoIn Lisp, every bind-exit or unwind-protect may be doing something like a setjmp. That's how it is implemented in the C runtime for Dylan as well. In JavaScript, you have the ability to break to a label to escape nested loops. That's a limited form of a non-local exit. Ola Bini was working with a condition system in his experimental / hobby language Ioke as well. These ideas get around. You'd probably be surprised at how some of this works in Smalltalk as well.