Looking for good examples of Lisp macros
Posted: Fri Dec 12, 2008 8:24 pm
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 Lisp
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 Weinreb (dlw at alum.mit.edu)
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 Lisp
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 Weinreb (dlw at alum.mit.edu)