[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 at MIT-AI (Quux)
- Date: Wed ,16 Apr 80 05:31:00 EDT
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".)