[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: LISP-FORUM at MIT-MC
- Subject: NIL LET.
- From: George J. Carrette <GJC at MIT-MC>
- Date: Sat ,3 Oct 81 21:36:00 EDT
In the various syntax processing parts of NIL, the compiler,
the macros, the interpreter, etc. we find a destructuring let allowing
various imbeded keywords to be very useful. The implementation is somewhat
unconventional, so I'll just give an example in this short note:
(deform (dovector (&symbol elem vector &optional index) &rest body)
... do some stuff ...)
The destructuring construct has been carefully optimized to provide:
 recursive uniformity.
 concise and obvious expression of how to break up a form.
 small inline codesize.
 superb error checking with maximal context provided in descriptive
 recoverable errors in syntax processing. for ex. on-the-fly editing.
Thats the end of my VT-52 screen, bye bye for now. -gjc