A Metascript language mode for Emacs.
- syntax highlighting with support for nice rendering of lambdas and other constructs
- flymake integration for checking compilation errors as you type (requires mjs-check as a dev dependency)
- simple auto indentation
- code evaluation and a repl
- npm test integration with stack trace navigation
- M-x metascript-repl: Launch or activate the REPL.
Keyboard shortcut | Description |
---|---|
C-M-f | Move to the next block. |
C-M-b | Move to the previous block. |
C-M-Space | Mark the next block. |
C-c, | Run the tests. |
C-c M-j | Launch or activate the REPL. |
C-M-x | Evaluate active region. Definitions become available in the REPL. |
Usual compilation-minor-mode shortcuts.
Available from MELPA.
M-x package-install <ENTER> metascript-mode
M-x customize-group metascript
Have fun!