607 B
607 B
this will be a tree-sitter implementation for nix-shell
files.
try one of the following:
nix build
=> build the parsernix develop
=> manually/interactively generate the parsertree-sitter generate
non-flake equivalents:
nix-build
nix-shell
development workflow
guide on using tree-sitter: https://tree-sitter.github.io/tree-sitter/creating-parsers
roughly:
nix develop
tree-sitter generate
tree-sitter test
run nix run '.#clean'
before committing to avoid checking in build artifacts.
the parser is defined in grammar.js
, and tests live in corpus/
.