News for hackers. Stuff that matters.
Re:Functional JavaScript: Closure by michaelsbradley on Tuesday June 18, 2013 @03:39PM (#5901507)
Yes, but JavaScript is flexible enough to allow persistent data structures, and a value-semantics API for working with them, to be implemented in terms of a library:

http://swannodette.github.io/mori/

Just to avoid confusion: mori the library, as distributed by npm, is already compiled. Building the library itself requires a compile step, but an end-user just needs to load it with a script tag or require("mori").

Re:Functional JavaScript: Closure by cgag on Tuesday June 18, 2013 @07:51PM (#5902804)
To be fair it's implemented in Clojurescript I'm pretty sure.
Re:Functional JavaScript: Closure by michaelsbradley on Tuesday June 18, 2013 @08:13PM (#5902877)
It is, but pre-distribution it is compiled down to 100% JavaScript as a stand-alone JS lib that you can load with a script tag or NodeJS require(...).

The ClojureScript compiler only gets involved if you want to hack on mori yourself, as opposed to consuming it as a library.

If the point you're making is that it's implemented with ClojureScript as opposed to JavaScript, the fact is that everything that ClojureScript "does" you can do with hand-written JavaScript, but your hand-rolled solution might not be as generic or efficient (depending on your JS chops).