Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coalton-lang/coalton-mode
An Emacs major mode for Coalton.
https://github.com/coalton-lang/coalton-mode
coalton common-lisp emacs lisp
Last synced: 2 months ago
JSON representation
An Emacs major mode for Coalton.
- Host: GitHub
- URL: https://github.com/coalton-lang/coalton-mode
- Owner: coalton-lang
- Created: 2024-05-17T19:40:58.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T17:23:51.000Z (4 months ago)
- Last Synced: 2024-09-29T08:20:58.298Z (3 months ago)
- Topics: coalton, common-lisp, emacs, lisp
- Language: Emacs Lisp
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This directory contains the source code for an Emacs mode that supports
working with Coalton code.## Requirements
This mode requires Emacs version > 29.1 because it relies on
tree-sitter. You can check that your copy of Emacs was built with
support for tree sitter by evaluating:(treesit-available-p)
## Installation
In your emacs init file (probably `~/.emacs.d/init.el` or `~/.emacs`),
add this directory to your load-path, and require the mode:;; Coalton
(add-to-list 'load-path "~/git/coalton-mode")
(require 'coalton-mode)## Usage
There is an example file, `types.coal` in the `test/` directory.
The first time you open a `.coal` file, Emacs will ask you to approve
the installation of a parser component:tree-sitter-coalton is not installed. Clone, build and install it?
(Answer 'yes')