|
|
|
|
|
by tmp123tmp123
3104 days ago
|
|
The difference is when an expression is to be evaluated. Back quote and friends are evaluated by the read function. These expressions are (or at least should be) functions on syntactic forms - syntax transformers. People call them macros. Of course they could have been misused in many cryptic ways. |
|
I don't really agree with this. Backquote is just shorthand for a bunch of consing that makes the end result more clear. Macros are one application where being able to sort of template lists is very useful, but they're not the only one. As well, I think the tendency for people to learn backquote as a companion to defmacro tends to confuse people about how defmacro works.