Re: [Scheme-reports] [wg2] in support of single-arity procedural syntax transformers
Andy Wingo 11 May 2011 16:06 UTC
On Wed 11 May 2011 17:25, Peter Bex <Peter.Bex@xs4all.nl> writes:
> The procedures or syntactic forms er-macro-transformer,
> sc-macro-transformer, syntax-case and syntax-rules already
> hide the implementation details well enough.
That is true for all but syntax-case. In fact syntax-case is not an
expander at all: it is a helper to destructure and build syntax objects.
It is an expression, something that can occur where other Scheme code
can occur. You might decide that you don't like it, and that's cool, no
need to implement it.
But for WG2 to *allow* user-provided destructuring and building forms,
like syntax-case, one needs to specify the type of syntax transformers
themselves, and provide the most basic accessors for syntax objects.
Andy
--
http://wingolog.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports