[Top][All Lists]

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

special form and macro

From: alin.s
Subject: special form and macro
Date: Sat, 20 Feb 2010 05:16:42 -0800 (PST)

What difference exists between a macro and a user-defined special form?

In emacs the user cannot define special forms, maybe because the macros keep
the place of special forms?

A special form should be defined as

(special (var1 ... varn) (lambda () ... ))

During application, var1 ... varn should be initialized temporary inside the
environment with the unevaluated values of the call. (name val1 ... valn).

But this is exactly the definition of a macro. Is there a difference . Is
there a computation that one can do and the other not?

View this message in context: 
Sent from the Emacs - Dev mailing list archive at Nabble.com.

reply via email to

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