[racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Apr 4 08:28:30 EDT 2011

On Mon, Apr 4, 2011 at 8:13 AM, Matthias Felleisen <matthias at ccs.neu.edu> wrote:
>
> On Apr 4, 2011, at 5:45 AM, Archie Maskill wrote:
>
> On Wed, Mar 30, 2011 at 11:29 AM, John Sampson <jrs.idx at ntlworld.com> wrote:
>>
>> Do you think these give a better explanation of macros? On the whole, I
>> have found Teach Yourself Scheme
>> relatively easy to follow.
>>
>> Regards
>>
>> _John Sampson_
>
> I was learning how to use scheme macros recently, and I found this document
> extremely useful:
>
> http://www.xs4all.nl/~hipster/lib/scheme/gauche/define-syntax-primer.txt
>
> I'm not sure how much adaptation (if any) it would require to work with
> Racket.  Hope it's some use to you, too!
>
>
> Joe's essay is a decent start for syntax-rules, the macro system from the
> 1990s.
> I am sure Ryan should and could write something equally useful for what
> Racket offers above and beyond syntax-rules.

Eli wrote an excellent introduction to Racket macros on
comp.lang.scheme recently, which I've encouraged him to post on the
Racket blog.
-- 
sam th
samth at ccs.neu.edu



Posted on the users mailing list.