Implement syntax-constructor ("scons") mechanism.
authorChris Hanson <org/chris-hanson/cph>
Thu, 22 Mar 2018 04:16:07 +0000 (21:16 -0700)
committerChris Hanson <org/chris-hanson/cph>
Thu, 22 Mar 2018 04:16:07 +0000 (21:16 -0700)
commit740ed5cd79ee6db163068597a78ec0c9d2845c56
tree5af32479cae4ed7b43eeaffae7a6fc5bc88d7a32
parent346b65b0d3cfeebd9ce8224b5d7d7ec6e6c0909c
Implement syntax-constructor ("scons") mechanism.

This eliminates a potential problem with RSC and ER macros, which typically
construct ordinary list structure using quasiquote and renaming the keywords.
Unfortunately this will fail if the use environment has redefined the quasiquote
and/or quote keywords.  These constructors are careful not to use any keywords
except renamed ones; they also hide most of the renaming while providing a
simple procedural interface.
src/runtime/mit-macros.scm
src/runtime/runtime.pkg
src/runtime/syntax-constructor.scm [new file with mode: 0644]
src/runtime/syntax-parser.scm