macro-friendly equivalent of APPLY

Discussion of Common Lisp

Re: macro-friendly equivalent of APPLY

Postby 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
Posts: 226
Joined: Fri Aug 06, 2010 6:34 am
Location: Germany


Return to Common Lisp

Who is online

Users browsing this forum: Bing [Bot] and 12 guests