[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defmacro with built-in gensym declaration and initialization
From: |
Stefan Monnier |
Subject: |
Re: defmacro with built-in gensym declaration and initialization |
Date: |
Thu, 21 Jan 2021 15:50:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> What's the purpose of TEST in macroexp-let2, then, other than to
> minimise bindings in the expansion?
The purpose is indeed just one of optimization applied to the
source code.
> (Which I presume is only relevant when Elisp's byte compiler is used
> to compile the expanded form.)
It's relevant both when the code is byte-compiled and when
it's interpreted. But that depends on implementation details, so indeed
it can become useless in the future if/when we improve the interpreter
and/or compiler. I don't know if it's still relevant when using the
native compiler, indeed.
Stefan
- defmacro with built-in gensym declaration and initialization, akater, 2021/01/20
- Re: defmacro with built-in gensym declaration and initialization, Basil L. Contovounesios, 2021/01/20
- Re: defmacro with built-in gensym declaration and initialization, Stefan Monnier, 2021/01/20
- Re: defmacro with built-in gensym declaration and initialization, akater, 2021/01/20
- Re: defmacro with built-in gensym declaration and initialization, Basil L. Contovounesios, 2021/01/20
- Re: defmacro with built-in gensym declaration and initialization, akater, 2021/01/21
- Re: defmacro with built-in gensym declaration and initialization,
Stefan Monnier <=
- Re: defmacro with built-in gensym declaration and initialization, Basil L. Contovounesios, 2021/01/21
- Re: defmacro with built-in gensym declaration and initialization, Stefan Monnier, 2021/01/21
- Re: defmacro with built-in gensym declaration and initialization, Basil L. Contovounesios, 2021/01/21