Clojure interpreter written in JavaScript
JavaScript Shell
Permalink
Failed to load latest commit information.
build
src Fix quoted numbers handling. Add test for quoted numbers, strings and… May 7, 2012
test Fix quoted numbers handling. Add test for quoted numbers, strings and… May 7, 2012
.gitignore Add .gitignore. Apr 11, 2012
.jshintrc Improve symbol lookup. Apr 29, 2012
Makefile Rewrite reader into recursive decent parser. Apr 15, 2012
README.md Update readme. Apr 15, 2012
clojure.min.js Update build. May 6, 2012
package.json Add println function. Apr 27, 2012
repl Change repl file name to reflect that it's to be used in a shell. Apr 15, 2012

README.md

clojurejs

A simplistic Clojure interpreter written in JavaScript, for running Clojure in the browser or in node.

This is only an experiment in parsing and evaluating a LISP in JavaScript, i.e. it is not intended to be complete in any way.

The current goal of the project is to implement the features listed in the Clojure Cheat Sheet that makes sense running in a browser.

Head over to the demo page to check it out.

Getting Started

Only a few, simple steps is required:

git clone git://github.com/gnab/clojurejs.git
cd clojurejs
make

Also, you need node (and npm) installed on your system.

A REPL is provided by running the repl script in the root dir. For running the clojurejs REPL using Emacs' inferior lisp mode, type the following:

C-u M-x inferior-lisp followed by /path/to/clojurejs/repl