On Tue, Aug 25, 2009 at 09:19:08AM -0400, Eli Barzilay wrote: > On Aug 25, Peter Bex wrote: > > I didn't know that was the case, but I'm sure even this needs a way > > to register syntax transformers which can receive the form with > > added environment information. This should be standardized, so > > syntax transformer libraries are possible in the first place. > > `define-syntax' does that.
Only in the R6RS library document does it describe a generic way of writing transformers. The R6RS main document only allows for the hardcoded 'syntax-rules' to appear in the transformer position. This seems the wrong way around; this puts low-level macros in a library and high-level macros in core. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpN5slqBHeIy.pgp
Description: PGP signature
_______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
