Page 1 of 1
Scheme macro tutorials?
Posted: Sat Aug 09, 2008 3:10 pm
I'm currently enjoying myself while reading this tutorial for Scheme Macros:
http://www.xs4all.nl/~hipster/lib/schem ... primer.txt
What's your preferred tutorial for Scheme macros?
Re: Scheme macro tutorials?
Posted: Sat Aug 30, 2008 2:30 pm
I just found myself needing scheme macros for the first time a couple of days ago. I rather like http://www.cs.utah.edu/classes/cs6520-m ... torial.pdf
It's obviously meant to be used as a set of slides for a presentation, but the examples given are clear and concise, and they helped me learn the syntax-rules system.
I must say though, I'm surprised that there's so little documentation on such a major feature of the language. R5RS is pretty much incomprehensible on the subject, and too many discussions on the subject seem to assume that the reader already understands the basic operation of syntax-rules.
: I wrote a guide myself: http://blog.willdonnelly.net/2008/09/04 ... es-primer/