mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-03 19:26:36 +02:00
Document the addition of identifier macros
This commit is contained in:
parent
4a3c7eaf1f
commit
83f61aecd2
1 changed files with 9 additions and 0 deletions
|
@ -261,6 +261,15 @@ 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
|
||||||
|
created with \scheme{sc-macro-transformer} and \scheme{rsc-macro-transformer}
|
||||||
|
can match an identifier outside of operator position, and a special
|
||||||
|
\scheme{er-macro-transformer*} form 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
|
||||||
|
procedures which expand an instance of \scheme{set!} with their syntax
|
||||||
|
keywords as their first argument.
|
||||||
|
|
||||||
\subsection{Types}
|
\subsection{Types}
|
||||||
|
|
||||||
You can define new record types with
|
You can define new record types with
|
||||||
|
|
Loading…
Add table
Reference in a new issue