help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: understanding backquote


From: Pascal J. Bourguignon
Subject: Re: understanding backquote
Date: Wed, 03 Jun 2015 01:08:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Olaf Rogalsky <olaf.rogalsky@aol.de> writes:

>>> I have problems in understanding the semantics of backquote. Consider
> ...
>> (info "(elisp) Backquote")
>
> Yes, I read that, but the manual does not make it entirly clear, at
> which time comma expressions are evaluated: at read or at compile-time:
>
>   9.4 Backquote
>   ...
>   The special marker ‘,’ inside of the argument to backquote indicates a
>   value that isn’t constant. The Emacs Lisp evaluator evaluates the
>   argument of ‘,’, and puts the value in the list structure:
>   ...

Also, consider: '`,(+ 1 2) --> (\` (\, (+ 1 2)))
this shows how this backquote is read.  
In emacs lisp \` is a macro.


-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

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