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
1 year ago
.github/workflows Fixed CRLF behavior for tests, run tests on all platforms in GitHub CI (#106) 2 years ago
bindings Use tree-sitter 0.20 1 year ago
corpus adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 2 years ago
examples Parse a bunch of files from bash-it on CI 6 years ago
queries adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 2 years ago
script ⬆️ tree-sitter-cli to 0.16 4 years ago
src adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 2 years ago
.gitattributes Add examples directory w/ one real shell script 6 years ago
.gitignore Bump tree-sitter-cli to 0.19 3 years ago
.gitmodules Parse a bunch of files from bash-it on CI 6 years ago
.npmignore Bump tree-sitter-cli to 0.19 3 years ago
.travis.yml Use the default compiler for linux builds on travis 5 years ago
Cargo.toml Use tree-sitter 0.20 1 year ago
LICENSE Add license and readme 6 years ago
README.md Development experience (#25) 5 years ago
appveyor.yml Development experience (#25) 5 years ago
binding.gyp Bump tree-sitter-cli to 0.19 3 years ago
grammar.js adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 2 years ago
package.json adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) 2 years 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