An Emacs major mode for Wisp - the Lisp -> JavaScript compiler.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.org
wispjs-mode.el

README.org

WispJS Mode

A major mode for the Lisp-to-JavaScript language Wisp.

Provides syntax highlighting, an inferior-lisp REPL, and a compile command.

Installation

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.

Usage

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).

Status

Ready to use, but fairly basic. Feedback welcomed.

History

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.