You might be interested in the paper 'Fortifying Macros':
http://www.ccs.neu.edu/scheme/pubs/icfp10-cf.pdf  syntax-parse is very
cool and can give good error messages if the user makes a mistake when
using the macro.  About a year ago I tried making an implementation of
a system like syntax-parse for Clojure: https://github.com/qbg/syntax-rules
Once my development box is revived, I intend to work on a Clojure 1.3
very of it with a simpler implementation.

One of the issues I've encountered when trying to use pattern matching
based macros with Clojure is that idiomatic Clojure syntax is very
flat, so you need to extend Scheme's syntax-rules before you able to
write a small let macro.

I can't speak for Rich, but code style macros represent a superset of
pattern matching macros, and are also much easier to implement.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to