Skip to content

Emacs major mode for Uiua, a stack-based array language, powered by tree-sitter

License

Notifications You must be signed in to change notification settings

crmsnbleyd/uiua-ts-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Emacs major mode for Uiua, a stack-based array language, powered by tree-sitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published