/uiua-mode

Emacs mode for uiua, a stack-based array language

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

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

uiua-mode

This is an emacs mode for Uiua, an array language.

Since the language’s semantics and syntax are still very much in flux, the mode will change as well.

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

Setup

Users with an Emacs that supports treesitter should prefer uiua-ts-mode.

Otherwise, to use this conventional major mode:

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

Screenshots

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

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