macro-friendly equivalent of APPLY

Discussion of Common Lisp
edgar-rft
Posts: 226
Joined: Fri Aug 06, 2010 6:34 am
Location: Germany

Re: macro-friendly equivalent of APPLY

Post by edgar-rft » Fri Nov 15, 2013 11:57 pm

I think you have already discovered why Common Lisp doesn't want special operators and macros to be FUNCALLed or APPLYied, because there's a potential infinite number of special cases to observe. Complex syntax manipulations usually are implemented by recursive tree traversal, not by stacking macros on macros. Sorry, but I would need a specific code example to see why your macros cannot be implemented as functions, otherwise I have no idea how to solve this problem.

- edgar

Post Reply