Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.45 KB

README.org

File metadata and controls

32 lines (24 loc) · 1.45 KB

https://img.shields.io/badge/license-GPL_3-green.svg https://melpa.org/packages/uiua-ts-mode-badge.svg https://github.com/crmsnbleyd/uiua-ts-mode/actions/workflows/ci.yml/badge.svg

uiua-ts-mode

This is a treesitter-powered emacs mode for Uiua, an array language.

Much like the language itself, this mode is currently in progress.

Please report any divergence from the major/minor releases of uiua as Github issues. They are considered bugs.

Setup

This mode builds on uiua-mode, which you can use if you have an older Emacs version.

(use-package uiua-ts-mode
  :mode "\\.ua\\'"
  :ensure t)  ; or :straight t if using straight.el

Upon loading a .ua file, emacs will complain about not finding the grammar. Simply type M-x treesit-install-language-grammar then uiua to install it.

Screenshots

Syntax highlighting of various uiua elements, in flexoki-theme.

https://github.com/crmsnbleyd/uiua-mode/blob/main/assets/uiua-example.png

Contributors

This mode currently uses a grammar by @shnarazk.