22 July 2011
Try it out! Follow the Quick Start instructions on the ClojureScript wiki.
Here’s a partial list of what has been implemented so far:
defn, multiple-arities, variadics
Data structures: lists, maps, vectors, sets
Data manipulation functions:
Sequences and sequence functions:
Reader in ClojureScript (think JSON but better)
ClojureScript is currently in Alpha status. The compiler and core libraries are usable for developing applications, but expect to find bugs and missing pieces of functionality. ClojureScript aims to be a complete implementation of the Clojure language, but some parts aren’t finished yet.
Obviously, any code making interop calls to Java, as most existing Clojure libraries do, will not work in ClojureScript. Code written in pure Clojure will probably work in ClojureScript with minor adjustments. For example, clojure.zip in Clojure and clojure.zip in ClojureScript are nearly identical. With a little effort, purely algorithmic code can be made portable between implementations. However, trying to abstract over all the differences among host platforms has never been a goal of Clojure, nor will it be a goal of ClojureScript.
eval and no runtime access to the ClojureScript compiler from within ClojureScript.
ClojureScript was initially developed by Rich Hickey, creator of Clojure. Members of the Clojure/core team, along with others invited from the Clojure community, have participated in the development of the compiler.