@wardbrian/tree-sitter-stan
v0.2.2
Published
A tree sitter grammer for modern Stan programs
Downloads
13
Readme
tree-sitter-stan
This is a tree-sitter parser for the Stan language. It can parse the latest Stan syntax, however, it does not necessarily parse deprecated language features which are scheduled for removal.
Installation
NPM
tree-sitter-stan
is available on npm:
npm i @wardbrian/tree-sitter-stan
Note: The @wardbrian
scope is necessary because the tree-sitter-stan
package name is
already taken by a previous attempt by jrnold,
which this version is loosely based on.
Usage
Emacs
See stan-ts-mode for Emacs 29+
Neovim
This can be used with nvim-treesitter
Zed
I have a minimal Zed extension at https://github.com/WardBrian/zed-stan-extension