Skip to content

k2052/moonscript-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moonscript-mode

Overview

A basic major mode for editing MoonScript, a preprocessed language for Lua which shares many similarities with CoffeeScript.

Also includes a very basic major mode for the experimental MoonScript REPL.

History

This mode started out as a modification of stuff found in @GriffinSchneider's Emacs configs.

Installation

From MELPA

The easiest way to get the mode is to install the moonscript package from the MELPA package archive.

Manual

$ cd ~/.emacs.d/vendor
$ git clone https://github.com/k2052/moonscript-mode.git

And add following to your .emacs file:

(add-to-list 'load-path "~/.emacs.d/vendor/moonscript-mode")
(require 'moonscript-mode)
(require 'moonscriptrepl-mode)

Usage

With a REPL

If you load up a moonscript REPL (see https://github.com/leafo/moonscript/wiki/Moonscriptrepl) you can then hit:

M-X moonscriptrepl-mode

to activate.

Improvements and more docs will come as we need them.

Support

If you found this repo useful please consider supporting me on Gittip or sending me some bitcoin 1csGsaDCFLRPPqugYjX93PEzaStuqXVMu

About

An Emacs mode for moonscript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published