[racket] Macros and literal-id

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Aug 9 11:43:28 EDT 2011

Richard Cleis wrote at 08/09/2011 10:25 AM:
> What is the reason for using syntax-rules instead of syntax-parse? (To maintain RnRs compatibility?)
>   

I use it for historical reasons, from when I learned it in RnRS.  For 
people new to Racket, I will probably be nudging them towards something 
other than "syntax-rules".  The hardest macro tasks, in "syntax-rules", 
become opportunities to show off how well one can do scary-looking CPS 
that's really expensive at expansion time.

-- 
http://www.neilvandyke.org/


Posted on the users mailing list.