Hi Peter, Thank you for pointing me to that thread. I've just got home and haven't a chance to read it yet. But I'm suspecting that "defmacro" is itself only supported in clojure with no equivalent in ClojureScript. I have seen lots of Clojure macros that use the Java interop and I think that many are not portable to Javascript.
Just a guess... Sent from my iPhone > On Mar 3, 2015, at 8:48 PM, Peter West <[email protected]> wrote: > > As it says. I had a hurried look through earlier postings for some > discussion of this, without success. > > Macros eventually all expand to CLJS-compatible code. Currently, IIUC, both > macro definition and expansion are handled by the Clojure compiler, with the > resulting code (presumably CLJS compatible) being handed back to the > ClojureScript compiler. Was this simply a convenience to get CLJS working > with a minimum of fuss, or are there some structural impediments? > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
