I think it's a little from column A, a little from column B, but I hope David 
and/or the cljs REPL authors can chime in if I'm mistaken.

Familiarity effects and the Google Closure compiler (which is written in Java) 
probably pushed the associated cljsc compiler to be in Clojure. And since 
macros occur at compile-time instead of runtime, macros are written in Clojure, 
not Clojurescript. 

In principle, a dogfood cljs compiler written in cljs should be possible. But 
in practice, you'd have to duplicate the existing benefits of the Google 
Closure compiler (http://github.com/clojure/clojurescript/wiki/Google-Closure), 
such as extensive libs, dependency management and dead code elimination. (In 
particular, dead code elimination is crucial for something like Javascript, 
where browsers download your code over and over again.)

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

Reply via email to