ddc7cb75c42f0d310dcc62df8fd301f08d81c400
tree-sitter doesn't allow hyphens in the grammar name underscore is the approach used by e.g. tree-sitter-c-sharp
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
the parser is defined in grammar.js
, and tests live in corpus/
.
Description
Languages
JavaScript
30.1%
Nix
27.7%
Shell
16.2%
Scheme
12%
HTML
7.2%
Other
6.8%