On Sat, Nov 29, 2014 at 7:48 PM, Andrew Rosa <[email protected]> wrote:
>> To me, a crucial step for CLJS is to have a compiler that is liberated from 
>> Java.  I've looked and it seems a number have tried to make it happen, but 
>> without official support each attempt seems to have withered.

It is not "crucial" for ClojureScript to be self-hostable, but yes it
would be a nice *option*.

A significant amount of progress has already been done to make this
possible. The only reason it hasn't been done yet is because no one
has yet has stepped up and pushed it past the finish line with a
series of patches. The remaining tasks:

* Portable tools.reader
* Macroexpander written in Clojure
* Conditional compilation tweaks (feature expressions) to pick the
right host type (clojure.core.PersistentVector vs.
cljs.core/PersistentVector)

> Making CLJS compiler completely independent from Java seems infeasible, since 
> Google Closure is written in Java itself, and Closure is one of the main 
> advantages IMO over other languages that sit on top of Javascript.

Closure is not an advantage in many desirable JS environments:
Node.js, node-webkit, Atom shell, iOS, etc.

David

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