https://github.com/disrupted/tree-sitter-github-bash
GitHub Actions Bash grammar for tree-sitter (fork of tree-sitter-bash)
https://github.com/disrupted/tree-sitter-github-bash
tree-sitter-parser
Last synced: 5 months ago
JSON representation
GitHub Actions Bash grammar for tree-sitter (fork of tree-sitter-bash)
- Host: GitHub
- URL: https://github.com/disrupted/tree-sitter-github-bash
- Owner: disrupted
- License: mit
- Created: 2024-02-18T22:58:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T23:05:28.000Z (almost 2 years ago)
- Last Synced: 2025-08-03T01:37:57.394Z (5 months ago)
- Topics: tree-sitter-parser
- Language: C
- Homepage:
- Size: 15.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-bash
[](https://github.com/tree-sitter/tree-sitter-bash/actions/workflows/ci.yml)
Bash grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).
## Development
Install the dependencies:
```sh
npm install
```
Build and run the tests:
```sh
npm run build
npm run test
```
Run the build and tests in watch mode:
```sh
npm run test:watch
```
### References
- [Bash man page](http://man7.org/linux/man-pages/man1/bash.1.html#SHELL_GRAMMAR)
- [Shell command language specification](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html)
- [mvdnan/sh - a shell parser in go](https://github.com/mvdan/sh)