The Janet language is a functional and imperative programming language that runs on Windows, Linux, MacOS, BSDs and should run on many other systems with just a little porting. This layer integrates the Janet major mode and the interactive Janet mode with Spacemacs.
If you find this layer at all useful, please feel free to...
First, make sure you have Janet installed and available on your path. There are instructions and binaries available on the Janet website.
To use this layer, clone it into the private
directory in your .emacs.d
directory.
git clone https://github.com/cmiles74/spacemacs-janet-layer.git ~/.emacs.d/private/janet
After that, add janet
to your list of layers in your .spacemacs
file.
Key Binding | Description |
---|---|
C-c M-j | Start an interactive Janet session (REPL) |
C-c C-c | Send the definition at point to the REPL |
C-c C-l | Send the line at point to the REPL |
C-c C-r | Send the selected region to the REPL |
C-c C-b | Send the current buffer to the REPL |
Pull requests are always welcome! :-D