Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bamboo/metascript-mode
Emacs major mode for the metascript programming language.
https://github.com/bamboo/metascript-mode
Last synced: 10 days ago
JSON representation
Emacs major mode for the metascript programming language.
- Host: GitHub
- URL: https://github.com/bamboo/metascript-mode
- Owner: bamboo
- License: gpl-3.0
- Created: 2015-05-22T13:46:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-09T00:57:28.000Z (over 9 years ago)
- Last Synced: 2023-03-11T02:35:00.405Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 299 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Metascript Mode [![Build Status](https://travis-ci.org/bamboo/metascript-mode.svg?branch=master)](https://travis-ci.org/bamboo/metascript-mode) [![MELPA](http://melpa.org/packages/metascript-mode-badge.svg)](http://melpa.org/#/metascript-mode)
A [Metascript](https://github.com/metascript/metascript) language mode for Emacs.
![screenshot](metascript-mode.png)
## Features
1. syntax highlighting with support for nice rendering of lambdas and other constructs
2. flymake integration for checking compilation errors as you type (requires [mjs-check](https://github.com/bamboo/mjs-check) as a dev dependency)
3. simple auto indentation
4. code evaluation and a repl
5. npm test integration with stack trace navigation## Keyboard shortcuts
* M-x metascript-repl: Launch or activate the REPL.
### Metascript buffer
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.### Test results buffer
Usual [compilation-minor-mode](https://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation-Mode.html) shortcuts.
## Installation
Available from [MELPA](https://melpa.org).
```
M-x package-install metascript-mode
```## Configuration
```
M-x customize-group metascript
```Have fun!