[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] [wg2] in support of single-arity procedural syntax transformers



On Wed 11 May 2011 17:25, Peter Bex <Peter.Bex@x> 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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports