A major mode for the Lisp-to-JavaScript language Wisp.
Provides syntax highlighting, an inferior-lisp
REPL, and a compile command.
If you’re hooked up to MELPA:
M-x package-refresh-contents M-x package-install RET wispjs-mode
If not, add this to your .emacs
first:
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
Alternatively, just grab the single wispjs-mode.el
and install that in your preferred way.
M-x inferior-lisp
will start a REPL.
M-x wispjs-mode/compile
will compile the file (by default to the same destination, with a .js
suffix).
Ready to use, but fairly basic. Feedback welcomed.
This package was originally named wisp-mode
, but was renamed to
wispjs-mode
to avoid confusion with nother Emacs package for the
“whitespace to lisp” preprocessor called Wisp.