[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
*CATCH vs named PROG
- To: BUG-LISP at MIT-MC, BUG-LISPM at MIT-MC, DLW at MIT-MC
- Subject: *CATCH vs named PROG
- From: Robert W. Kerns <RWK at MIT-MC>
- Date: Sun, 13 Apr 80 01:47:00 GMT
- Original-date: 12 April 1980 20:47-EST
- Sender: ___126 at MIT-MC
*CATCH is not the same. For one thing, it's dynamicly scoped, not
lexical. This is not the semantics we're looking for. Why not flush
RETURN and always use *CATCH/*THROW instead? This means it must
compile to something a couple orders of magnitude slower than the
pop/jump sequence of a named prog and return. *THROWs outside the
context where they should be allowed would find the *CATCH above them,
unlike the construct we're looking for.