This repository contains source code for slime-js emacs plugin, providing integration with https://github.com/Gozala/swank-js backend.
There are 2 pieces to make this work:
- The Slime piece, You’re looking at it.
- the Swank piece.
The best way to get this is to use package-install with Marmalade
M-x package-install slime-js
What, you don’t have marmalade as one of your package sources? Are you NUTS?
For Emacs 24, getting Marmalade is easy peasy:
(require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (package-initialize)
For emacs 23, the steps are similar, except you need to make sure you have the http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el
For the moment, Gozala’s branch of swank.js includes an easy install through NPM. It looks hot. Go get it.
Get Node.js: http://nodejs.org/ Get Swank.js: https://github.com/Gozala/swank-js
There will be more documentation here soon. For now, check the docco at https://github.com/Gozala/swank-js
There is big item on the development hit list:
Some people prefer espresso!
here is a list of dependencies that need to be WHACKED:
- [ ] js2-mode-wait-for-parse
- [ ] js2-forward-sws
- [ ] js2-mode-forward-sexp (js–forward-expression? js–forward-functon-decl? )
- [ ] js2-node-at-point
- [ ] js2-ast-root-p
- [ ] js2-node-parent
- [ ] js2-node-abs-pos
- [ ] js2-node-abs-end
- [ ] js2-mode-buffer-dirty-p