<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 4, 2011, at 5:45 AM, Archie Maskill wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Wed, Mar 30, 2011 at 11:29 AM, John Sampson <span dir="ltr"><<a href="mailto:jrs.idx@ntlworld.com">jrs.idx@ntlworld.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme<br>
relatively easy to follow.<br>
<br>
Regards<br><font color="#888888">
<br>
_John Sampson_</font></blockquote><div><br>I was learning how to use scheme macros recently, and I found this document extremely useful:<br><br><a href="http://www.xs4all.nl/~hipster/lib/scheme/gauche/define-syntax-primer.txt">http://www.xs4all.nl/~hipster/lib/scheme/gauche/define-syntax-primer.txt</a><br>
<br>I'm not sure how much adaptation (if any) it would require to work with Racket. Hope it's some use to you, too!<br></div></div></blockquote></div><br><div><br></div><div>Joe's essay is a decent start for syntax-rules, the macro system from the 1990s. </div><div><br></div><div>I am sure Ryan should and could write something equally useful for what Racket offers above and beyond syntax-rules. </div><div><br></div><div>-- Matthias</div><div><br></div></body></html>