[Openmcl-devel] Fwd: Soliciting examples of Lisp macros
james.anderson at setf.de
Sat Dec 13 10:10:06 PST 2008
it is little appreciated, but the computation of an effective method
is a macro-expansion process.
the simplest one might be the definition for the effective method
form of the standard method combination.[1,2]
at the next level, as maligned as it may be, make-method-lambda
relies on the same mechanism.
that is, one does not need to look far to find instances where the
basic properties of macros, that is the ability to compute
expressions with alternative, bindings, control structures and/or
evaluation order/semantics, are used in non-trivial ways to extend
On 2008-12-12, at 23:56 , Andrew Shalit wrote:
> Anyone have any exemplary macros for Dan Weinreb? See his message
> Begin forwarded message:
>> From: Dan Weinreb <dlw at itasoftware.com>
>> Date: December 12, 2008 9:09:37 AM EST
>> Subject: Soliciting examples of Lisp macros
>> Many of the good ideas that came from Lisp, such as garbage
>> collection, are now available in other languages. One of the key
>> ideas of Lisp that's still hard to find in other languages is the
>> macro system, and all it can do.
>> When I am talking to non-Lisp people about Lisp, I often make this
>> point, but they are often skeptical about how useful Lisp macros
>> really are.
>> I'd like to put together a presentation that demonstrates some of
>> the great things you can do with Lisp macros.
>> Unfortunately, many of the coolest uses of Lisp macros are rather big
>> and complicated. I need examples that are small and easy to explain,
>> for my purposes here.
>> If you have any cool, novel examples of Lisp macros, I'd very much
>> appreciate it if you could send them to me.
>> Thanks very much.
>> -- Dan
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel