On Aug 22, 2007, at 9:50 PM, Kyle R. Burton wrote:
I've found JRM's primer [1] on syntax-rules to be mind-expanding, but
I was wondering if anyone had any good references for syntax-case.
I'm asking because something went across p.r.c today asking about the
differences between CL and Scheme's macro systems and syntax-case came
up a lot in the comments/discussion.
You might try out _The Scheme Programming Language_ chapter freely
It's from R. Kent Dyvbig, who I *think* is the original author (or one of) of syntax-case.
It's not as enlightening as JRM's primer on syntax-rules, but if you now are
comfortable with syntax-rules, syntax-case does nothing more than allow you to
break hygiene. The pattern language is still the same. The only thing to really
learn are the techniques used to create the unhygienic portions of your macro. I
admittedly haven't done much with syntax-case, so I may be off a bit.
Good Luck