ClojureScript is a compiler for Clojure that targets JavaScript. It emits JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.

Why Clojure?

Clojure is a dynamic, general-purpose programming language supporting interactive development. Clojure is a functional programming language featuring a rich set of immutable, persistent data structures. As a dialect of Lisp, it has a code-as-data philosophy and a powerful macro system.

Why JavaScript?

The spread of the browser and web-based applications has given JavaScript an exclusive reach unmatched by any other language. Because of its importance, JavaScript engines are also receiving extensive research and optimization allowing JavaScript to compete for performance with many more established platforms like the JVM.

Why Google Closure?

As the purveyors of some of the most complicated client-service web applications in use today, Google has invested heavily in creating the Closure library and Closure compiler which work together to make whole program optimization possible, yielding programs that provide minimal load times even when using many libraries.

Opportunity

ClojureScript combines the reach of the JavaScript platform, the flexibility and interactive development of Clojure, and the whole-program optimization of Google Closure to provide the most powerful language for programming the web.

Learn More

Support

Cognitect, the maintainers of ClojureScript, offers enterprise-level support for ClojureScript. Wherever you are in adoption – whether you are getting your feet wet with ClojureScript or are ready to push finished applications into production – you can lean on Cognitect for 24x7 support.

Cognitect are also the makers of Datomic, a transactional database with a flexible data model, elastic scaling, and rich queries. Datomic Ions let you develop Clojure applications for AWS by deploying your code to a running Datomic cluster.

“We have created some of the sharpest tools in the business. We believe this platform is a better way to develop software, and we want you to have confidence using and deploying these tools. Open source doesn't mean you're on your own any more.” – cognitect.com

Companies Succeeding with ClojureScript

“Learning to use ClojureScript, Om, and React finally made me feel like I was taking ownership of my design work from beginning to end.”

Danny King, Co-Founder/Designer
Precursor

“[We designed our software] with just immutable data structures and pure functions (with much less code than traditional OO languages) allowing us to focus on our core business requirements rather than inherent technological problems.”

Asier Galdos, Co-founder/developer
Greenius

“Clojure and Clojurescript are the backbone of our business.”

“Clojurescript offers a language and environment that is far superior (and less error-prone) than plain-ol' Javascript, even with frameworks.“