Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Demo repo for BK.js and NYC.js
JavaScript Clojure Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bootstrap
src/cljs_demo
test/cljs_demo
.gitignore
README.md
README.sumblime.md
index.html
project.clj
run-repl.sh

README.md

If you want to get up and running with a clojurescript REPL as fast as possible, this project is for you.

The only dependency of this project should be Leiningen. Follow the instructions at that page to install it for your system. Leiningen is the build tool for clojure, similar to maven.

Once you have leiningen installed, From this repo's directory run:

chmod +x run-repl.sh
./run-repl.sh

After you see the cljs repl, open index.html in the root of this repository in your favorite browser. You may need to refresh the browser if you don't get a response right away.

Now, in the shell where you ran repl-listen, your clojurescript repl is connected directly to the browser. You can try it by running

(js/alert "Hey, it works!")

From here, you can interact with the DOM, or print to the console directly from the clojurescript repl.

Copyright © 2012 David Nolen, John K. Paul

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.