Skip to content

juxt/tree-sitter-allium

Repository files navigation

tree-sitter-allium

Tree-sitter grammar for the Allium specification language.

Usage

Neovim

The nvim-allium plugin handles tree-sitter setup automatically.

Emacs

The allium-mode plugin includes tree-sitter support for Emacs 29+. See its README for grammar installation.

Other editors

Editors with tree-sitter support (Helix, Zed) can use this grammar directly. Build instructions below.

Building

Install dependencies:

npm install

Generate the parser from grammar.js and build all artifacts:

npm run build

This runs tree-sitter generate, then builds the native .node binding and the .wasm binding. The WASM step requires emscripten and is skipped if unavailable.

Testing

tree-sitter test

Corpus tests live in test/corpus/.

Licence

MIT

About

Tree-sitter grammar for the Allium specification language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors