GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Support for ClojureScript was added by defining a new command under swank.commands.cljs. This command is triggered by an Emacs customization (see clojure-mode).
Note that swank does not automatically run this code, so as to avoid forcing those not using cljs to require it. In order to add repl support to a VM, one has to register a repl explicitly, before starting it:
(require '[swank.commands.cljs :as swank-cljs])
(def env (browser/repl-env))
(swank-cljs/register-repl :cljs-repl env)
Different repls can be supported by registering different keys and using suitable buffer-local variables from Emacs.
Fixed stdout going to the minibuffer on converting a LazySeq result.
Merge branch 'swank-cdt'
Merge branch 'master' of ../swank-clojure.technomancy
Initial prototype for support for clojurescript evaluation.
Merge branch 'master' of https://github.com/blais/swank-clojure
Added support for registration of environments for ClojureScript eval…
Cleaned up comments.
Bug fix: installed *cljs-ns* as a binding when evaluating.
Merge pull request #128 from blais/master
Added ClojureScript support.