[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


The LispMachine version of defmacro now supports an additional &
keyword: &body.  It has exactly the same effect as &rest as far as the
defined macro is concerned.  The difference is that in addition to
defining the macro it outputs a form to tell Zwei how to indent
instances of the macro.  So that

(defmacro frobify (var form frob &body body)

Tells Zwei to indent like:

(frobify x (+ 3 z)
  (print x)
  (print y))

The idea is that body is declared to be a body (list of forms) and not
just any old random list structure.

Now it would be a little hard to have this work on ITS, but it would
be nice if the ITS defmacro would at least accept the keyword &body in
place of &rest.  Can this be done please?  Thank you.