[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lexical CATCH and named constructs
- To: BUG-LISP at MIT-AI, BUG-LISPM at MIT-AI, nil at MIT-MC
- Subject: Lexical CATCH and named constructs
- From: Quux <QUUX at MIT-AI>
- Date: Wed, 16 Apr 80 09:31:00 GMT
- Original-date: 16 April 1980 04:31-EST
Maybe do it with various kinds of parentheses:
[SETQ X {CAR (IF [OR (CAR X)
(AND (CDR X) (RETURN-FROM "[" 3))
(RETURN-FROM "{" 5)]
[RETURN-FROM "[" 6]
LOSER)}]
Of course, you'd need a lot of different parentheses in general.
Maybe Carl has some ideas about this.
(This idea inspired by super-brackets -- use brackets to convey
control, not just textual, "closing off".)