# tree-sitter-bash
[![CI][ci]](https://github.com/tree-sitter/tree-sitter-bash/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-bash)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-bash)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-bash)
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)
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-bash/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-bash?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-bash?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-bash?logo=pypi&logoColor=ffd242
Raw data
{
"_id": null,
"home_page": null,
"name": "tree-sitter-bash",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "incremental, parsing, tree-sitter, bash",
"author": null,
"author_email": "Max Brunsfeld <maxbrunsfeld@gmail.com>, Amaan Qureshi <amaanq12@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/7b/e0/1e73a17c5427dc62fc42e29f1e58b3a3c95a8fa314983a37f25a0c15be1f/tree_sitter_bash-0.23.3.tar.gz",
"platform": null,
"description": "# tree-sitter-bash\n\n[![CI][ci]](https://github.com/tree-sitter/tree-sitter-bash/actions/workflows/ci.yml)\n[![discord][discord]](https://discord.gg/w7nTvsVJhm)\n[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)\n[![crates][crates]](https://crates.io/crates/tree-sitter-bash)\n[![npm][npm]](https://www.npmjs.com/package/tree-sitter-bash)\n[![pypi][pypi]](https://pypi.org/project/tree-sitter-bash)\n\nBash grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).\n\n## Development\n\nInstall the dependencies:\n\n```sh\nnpm install\n```\n\nBuild and run the tests:\n\n```sh\nnpm run build\nnpm run test\n```\n\nRun the build and tests in watch mode:\n\n```sh\nnpm run test:watch\n```\n\n### References\n\n- [Bash man page](http://man7.org/linux/man-pages/man1/bash.1.html#SHELL_GRAMMAR)\n- [Shell command language specification](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html)\n- [mvdnan/sh - a shell parser in go](https://github.com/mvdan/sh)\n\n[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-bash/ci.yml?logo=github&label=CI\n[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord\n[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix\n[npm]: https://img.shields.io/npm/v/tree-sitter-bash?logo=npm\n[crates]: https://img.shields.io/crates/v/tree-sitter-bash?logo=rust\n[pypi]: https://img.shields.io/pypi/v/tree-sitter-bash?logo=pypi&logoColor=ffd242\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Bash grammar for tree-sitter",
"version": "0.23.3",
"project_urls": {
"Homepage": "https://github.com/tree-sitter/tree-sitter-bash"
},
"split_keywords": [
"incremental",
" parsing",
" tree-sitter",
" bash"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "994dc3a1105be2386fd68f1fe8ab9dac5d0d24011d610af2904f48a836525a73",
"md5": "3ad033a41cf80a0a69c9010eb9fcabb1",
"sha256": "c1ee7a46fcbfca9937d01056be756631762f53c5afdb8c4ab64eb9fed060896b"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "3ad033a41cf80a0a69c9010eb9fcabb1",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 194714,
"upload_time": "2024-11-11T06:54:47",
"upload_time_iso_8601": "2024-11-11T06:54:47.277315Z",
"url": "https://files.pythonhosted.org/packages/99/4d/c3a1105be2386fd68f1fe8ab9dac5d0d24011d610af2904f48a836525a73/tree_sitter_bash-0.23.3-cp39-abi3-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3cd0e87e4569a82a29037c06694ed0116c60368edef2d7b822a38514e95360d8",
"md5": "e4d1f9b8b394f46063b48e1760b960d8",
"sha256": "5a090118e887bf667d82ae445794906186216f5500e0d2cd58eb499f7502dc57"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "e4d1f9b8b394f46063b48e1760b960d8",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 204226,
"upload_time": "2024-11-11T06:54:48",
"upload_time_iso_8601": "2024-11-11T06:54:48.960381Z",
"url": "https://files.pythonhosted.org/packages/3c/d0/e87e4569a82a29037c06694ed0116c60368edef2d7b822a38514e95360d8/tree_sitter_bash-0.23.3-cp39-abi3-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c5a2216ae6fffbcb0fb831865477f53115930dae5ad1b5a16ed12259c8aaecea",
"md5": "41d01c4ababe66457300a999ce883db8",
"sha256": "aa4b5dde719291eea3a81b1f9ece6afeee2deadc2b2f769bee92f955da7595cf"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "41d01c4ababe66457300a999ce883db8",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 265254,
"upload_time": "2024-11-11T06:54:50",
"upload_time_iso_8601": "2024-11-11T06:54:50.572686Z",
"url": "https://files.pythonhosted.org/packages/c5/a2/216ae6fffbcb0fb831865477f53115930dae5ad1b5a16ed12259c8aaecea/tree_sitter_bash-0.23.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2e895031979dc0be9946e999f790b4ceef42810a819508f77fa4017aad0dd5e2",
"md5": "37b2ef0b405d83357f073283cc42fc7b",
"sha256": "2ff7bffc3d594e7f1054de051e19df1b24082963598a175dda64083c6b3eea1a"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "37b2ef0b405d83357f073283cc42fc7b",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 242476,
"upload_time": "2024-11-11T06:54:52",
"upload_time_iso_8601": "2024-11-11T06:54:52.182227Z",
"url": "https://files.pythonhosted.org/packages/2e/89/5031979dc0be9946e999f790b4ceef42810a819508f77fa4017aad0dd5e2/tree_sitter_bash-0.23.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "520aaf4df04efbf253a93cc869f710a351ab2462f218135277268865eb599f5d",
"md5": "fd88a0cdd2093d93f66ae95320b26965",
"sha256": "4427baccbd7549a2ebb1859b6d42cdab0739c05d53c2b3daad9cadc069a7b3f6"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "fd88a0cdd2093d93f66ae95320b26965",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 230285,
"upload_time": "2024-11-11T06:54:53",
"upload_time_iso_8601": "2024-11-11T06:54:53.708849Z",
"url": "https://files.pythonhosted.org/packages/52/0a/af4df04efbf253a93cc869f710a351ab2462f218135277268865eb599f5d/tree_sitter_bash-0.23.3-cp39-abi3-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4686b1ecfe46a4dbae96a6900a3aa19ceb8d15815b29d924d36f02026780c719",
"md5": "2de15514c45dc78444edd34b175636b2",
"sha256": "525c5cce28a7c5624fb016ac8f3ae33d32968567b718f7878c6351229d2e8394"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-win_amd64.whl",
"has_sig": false,
"md5_digest": "2de15514c45dc78444edd34b175636b2",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 196940,
"upload_time": "2024-11-11T06:54:55",
"upload_time_iso_8601": "2024-11-11T06:54:55.395233Z",
"url": "https://files.pythonhosted.org/packages/46/86/b1ecfe46a4dbae96a6900a3aa19ceb8d15815b29d924d36f02026780c719/tree_sitter_bash-0.23.3-cp39-abi3-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e21ecab42516fc72c136d388bfbefe34be9fc109ff5a1fbba3c30209970cd57e",
"md5": "af9ee53f987ce155ddc9f7739ac31e84",
"sha256": "1f703d1bf6235355f6c900be64bf9f61fc4b1d0cfed6829b4eeb74a6b41ea910"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3-cp39-abi3-win_arm64.whl",
"has_sig": false,
"md5_digest": "af9ee53f987ce155ddc9f7739ac31e84",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 191919,
"upload_time": "2024-11-11T06:54:56",
"upload_time_iso_8601": "2024-11-11T06:54:56.375316Z",
"url": "https://files.pythonhosted.org/packages/e2/1e/cab42516fc72c136d388bfbefe34be9fc109ff5a1fbba3c30209970cd57e/tree_sitter_bash-0.23.3-cp39-abi3-win_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7be01e73a17c5427dc62fc42e29f1e58b3a3c95a8fa314983a37f25a0c15be1f",
"md5": "b85f01d553be5c6e17c648d0c9b31420",
"sha256": "7b15ed89a1ea8e3e3c2399758746413e464d4c1c3a6d3b75d643ae2bc2fb356b"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.23.3.tar.gz",
"has_sig": false,
"md5_digest": "b85f01d553be5c6e17c648d0c9b31420",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 420078,
"upload_time": "2024-11-11T06:54:57",
"upload_time_iso_8601": "2024-11-11T06:54:57.484267Z",
"url": "https://files.pythonhosted.org/packages/7b/e0/1e73a17c5427dc62fc42e29f1e58b3a3c95a8fa314983a37f25a0c15be1f/tree_sitter_bash-0.23.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 06:54:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tree-sitter",
"github_project": "tree-sitter-bash",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tree-sitter-bash"
}