Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Clojure to JS compiler
Clojure Shell Other
Latest commit 3993863 @sumbach sumbach committed with swannodette CLJS-1477: Do not attempt to resolve "native" type symbols
- The analyzer tags expressions with "native" JavaScript types with
  unqualified symbols (e.g., `'string`, `'array`).
- When the compiler encounters a protocol method invocation, it
  attempts to resolve the first argument's type tag to locate the
  protocol implementation. This does not behave as expected for these
  native types (see also `cljs.core/base-type`):
    - `clj-nil`
    - `number`
    - `string`
    - `boolean`
    - `function`
    - `object`
    - `array`
- This could similarly affect other type tags:
    - `any`
    - `clj`
    - `clj-or-nil`
    - `seq`
    - `not-native`
    - `long`
    - `double`

Add tests demonstrating unexpected `undeclared Var` warning

What is ClojureScript?

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

Releases and dependency information

Latest stable release: 1.7.170

Leiningen dependency information:

[org.clojure/clojurescript "1.7.170"]

Maven dependency information:


Getting Started

Questions, Feedback?

Please point all of your questions and feedback to the Clojure mailing list. There is a community run ClojureScript user mailing list and the IRC channel, #clojurescript on, is quite active. There is also a community run Slack channel. The Jira bug/feature tracking application is located at Before submitting issues please read the Reporting Issues page first.

Developers Welcome

ClojureScript operates under the same license as Clojure. All contributors must have a signed CA (Contributor's Agreement) and submit their patch via the appropriate channels. If you're interested in contributing to the project, please see the contributing page on For more information about working on the compiler and testing check the Developer section of the wiki.


YourKit has given an open source license for their profiler, greatly simplifying the profiling of ClojureScript performance.

YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.


Copyright (c) Rich Hickey. All rights reserved. The use and
distribution terms for this software are covered by the Eclipse
Public License 1.0 (
which can be found in the file epl-v10.html at the root of this
distribution. By using this software in any fashion, you are
agreeing to be bound by the terms of this license. You must
not remove this notice, or any other, from this software.
Something went wrong with that request. Please try again.