You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shadowfacts 3a793b84cd Use tree-sitter 0.20 3 months ago
.github/workflows Fixed CRLF behavior for tests, run tests on all platforms in GitHub CI (#106) 11 months ago
bindings Use tree-sitter 0.20 3 months ago
corpus adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 8 months ago
examples Parse a bunch of files from bash-it on CI 5 years ago
queries adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 8 months ago
script ⬆️ tree-sitter-cli to 0.16 3 years ago
src adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 8 months ago
.gitattributes Add examples directory w/ one real shell script 5 years ago
.gitignore Bump tree-sitter-cli to 0.19 1 year ago
.gitmodules Parse a bunch of files from bash-it on CI 5 years ago
.npmignore Bump tree-sitter-cli to 0.19 1 year ago
.travis.yml Use the default compiler for linux builds on travis 3 years ago
Cargo.toml Use tree-sitter 0.20 3 months ago
LICENSE Add license and readme 5 years ago
README.md Development experience (#25) 4 years ago
appveyor.yml Development experience (#25) 4 years ago
binding.gyp Bump tree-sitter-cli to 0.19 1 year ago
grammar.js adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 8 months ago
package.json adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 8 months ago

README.md

tree-sitter-bash

Build Status Build status

Bash grammar for tree-sitter.

Development

Install the dependencies:

npm install

Build and run the tests:

npm run build
npm run test

Run the build and tests in watch mode:

npm run test:watch

References