[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro vs Function

From: David Kastrup
Subject: Re: Macro vs Function
Date: Wed, 12 Apr 2006 14:12:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Herbert Euler" <address@hidden> writes:

>>From: Andreas Schwab <address@hidden>
>>To: "Herbert Euler" <address@hidden>
>>CC: address@hidden
>>Subject: Re: Macro vs Function
>>Date: Wed, 12 Apr 2006 13:14:19 +0200
>>Because the point of a macro is that you can transform the arguments into
>>a new form to be evaluated.
> So parameters in macro definition is always not evaluated, but
> left there, and when the macro returns the expansion, Lisp
> interpreter will evaluate them?

Or compile them, if it is currently compiling.  In either case, the
macro is called with unevaluated arguments at the time it is
encountered, and then the Lisp interpreter or compiler afterwards
interprets the results as if they had been written there in the first

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]