On Jan 19, 4:57 pm, David Nolen <dnolen.li...@gmail.com> wrote:
> The multiple syntax-quote and unqote behavior above seems to work in Clojure
> just fine and like CL as well.

Thanks. That's what I'm hoping for. The technique Graham illustrates
in ACL is very helpful. Its value is in the fact that it makes is
simpler for a human being to see what's going on in a nested
backquote.

The algorithms employed by Clojure and Common Lisp, though surely
effective, are less intuitive. They literally translate the syntax-
quote expression in what one would have to write in order to get the
same result by using concat, list, and quote. But that's precisely
what we're trying to avoid in the first place!

So I'm very happy to write down in the WikiBook how Clojure expands
syntax-quotes precisely, but I'm also concerned about having other
valid, more human-comprehensible alternative ways of achieving an
equivalent result.

As far as CL goes, there's no standard way of doing it. The HyperSpec
only suggests one which is to be used as a sort of reference (very
similar to what we have in Clojure by the way, where it is THE
standard procedure of course :-) ). The one Graham illustrates is
equivalent. I believe SBCL adopts something along those lines
actually. Anyway I think it's much easier to *see* what's going on
with the latter.

Rock.

--~--~---------~--~----~------------~-------~--~----~
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
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