<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div>Todd, for the record, existing hygienic macro systems are MORE expressive than existing unhygienic macro systems. (I suspect that this could also be applied to theoretical models, but these models aren't complete enough to make this comparison meaningful.)</div><div><br></div><div>I urge you to start with a study of syntax-rules (a la TSPL or TYS) and then to proceed to syntax-case and friends. By that point Ryan will have finished his tutorial on syntax programming in PLT and you'll be in shape to increase your productivity by an order of magnitude. (Just as Paul Graham says)</div><div><br></div><div><br></div><br><div><div>On Apr 24, 2009, at 12:32 PM, Tim Wawrzynczak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Honestly, if you really want to see the power of macros, look through Paul Graham's 'On Lisp.'  Granted, it's written from the perspective of Common Lisp, but the general idea is applicable to most Lisps.  Some things won't work, b/c I dont' believe Scheme's hygienic macros even allow variable capture, but overall it's an excellent treatise on Lisp macros.<br> <br><a href="http://www.paulgraham.com/onlisp.html">http://www.paulgraham.com/onlisp.html</a><br><br>Tim<br><br><div class="gmail_quote">On Fri, Apr 24, 2009 at 11:25 AM, Chongkai Zhu <span dir="ltr">&lt;<a href="mailto:czhu@cs.utah.edu">czhu@cs.utah.edu</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also chapter 8 or TSPL<br> <br> <a href="http://www.scheme.com/tspl3/syntax.html#./syntax:h0" target="_blank">http://www.scheme.com/tspl3/syntax.html#./syntax:h0</a><br><font color="#888888"> <br> Chongkai</font><div><div></div><div class="h5"><br> <br> Todd O'Bryan wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I'm trying to learn about macros. Does anybody teach the concept and<br> have lecture notes (that'd be great) or some sample problems to try<br> (which would be wonderful)?<br> <br> Todd<br> _________________________________________________<br>  For list-related administrative tasks:<br>  <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>  <br> </blockquote> <br> _________________________________________________<br>  For list-related administrative tasks:<br>  <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br> </div></div></blockquote></div><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_________________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span>For list-related administrative tasks:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-converted-space">  </span><a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a></div> </blockquote></div><br></body></html>