David Esterkin on 23 Aug 2007 14:48:23 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[philly-lambda] Re: Good references for syntax-case?

TSPL is the best reference for syntax-case I have found. Shriram Krishnamurthi's Programming Languages: Application and Interpretation has a couple of good chapters with examples of using syntax-rules and syntax-case:

The book is available from:  http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-04-26/

On 8/23/07, Andrew Gwozdziewycz <apgwoz@gmail.com> wrote:

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

You received this message because you are subscribed to the Google Groups "Philly Lambda" group.
To unsubscribe from this group, send email to philly-lambda-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/philly-lambda?hl=en