This contribution adds the quote-syntax form to the language. This form, which can also be found in Racket and Guile, is like syntax but does not substitute pattern variables. (In fact, quote-syntax is like the syntax form from the R4RS appendix.)
The quote-syntax can be helpful for macro writers when the quoted datum's contents are not controlled by the macro and unwanted capture of pattern variables has to be avoided.
This contribution adds the
quote-syntax
form to the language. This form, which can also be found in Racket and Guile, is likesyntax
but does not substitute pattern variables. (In fact,quote-syntax
is like thesyntax
form from the R4RS appendix.)The
quote-syntax
can be helpful for macro writers when the quoted datum's contents are not controlled by the macro and unwanted capture of pattern variables has to be avoided.