Document the addition of identifier-syntax to core

[skip ci]
This commit is contained in:
Daphne Preston-Kendal 2022-02-04 11:00:27 +01:00
parent 51b0203dc5
commit 920ba20a8c

View file

@ -261,11 +261,12 @@ introduction to syntactic-closures can be found at
\scheme{make-syntactic-closure} and \scheme{strip-syntactic-closures} are \scheme{make-syntactic-closure} and \scheme{strip-syntactic-closures} are
also available. also available.
Variable transformers and identifier macros are also supported: macros Identifier macros are also supported with \scheme{identifier-syntax}.
created with \scheme{sc-macro-transformer} and \scheme{rsc-macro-transformer} Low-level macros created with \scheme{sc-macro-transformer} and
can match an identifier outside of operator position, and a special \scheme{rsc-macro-transformer} can expand as identifiers outside of
\scheme{er-macro-transformer*} form is provided, otherwise identical operator position, and a special \scheme{er-macro-transformer*} form
to the usual \scheme{er-macro-transformer}, which can do the same. is provided, otherwise identical to the usual
\scheme{er-macro-transformer}, which can do the same.
\scheme{make-variable-transformer} can be used to create transformer \scheme{make-variable-transformer} can be used to create transformer
procedures which expand an instance of \scheme{set!} with their syntax procedures which expand an instance of \scheme{set!} with their syntax
keywords as their first argument. keywords as their first argument.