Hi,
I'm trying to write some macro-defining macros, and the recursive
backquotes are making my brain spin circles. Is there a macro writing
helper so that I can expand my macros level by level and see the
intermediate result?

I'm using macroexpand-1 right now, but it's not terribly useful as
backquotes expand to something nasty.

Given:
(defmacro mymacro []
  `(level1 `(level2)))

I would like to see it expanded to:
(user/level1 `(level2))

not:
(user/level1 (clojure.core/seq
              (clojure.core/concat
               (clojure.core/list (quote user/level2)))))


Is there something like this out there?
  -Patrick
--~--~---------~--~----~------------~-------~--~----~
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