What are the typical applications of Lisp macros?
- by Giorgio
I am trying to learn some LISP and I have read a lot about the importance of LISP macros so I would like to get some working experience with them.
Can you suggest a practical application area that would allow me to use macros to solve a real-world problem, and to understand the usefulness of this programming construct?
NOTE
This is not a generic what project should I do next question. I am interested to understand which kinds of problems are typically solved by means of LISP macros. E.g., are they good for implementing abstract data types?
Why was this construct added to the language? What kinds of problems does it solve that cannot be solved by means of simple functions?