# 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": "",
"name": "tree-sitter-bash",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "incremental,parsing,tree-sitter,bash",
"author": "",
"author_email": "Max Brunsfeld <maxbrunsfeld@gmail.com>, Amaan Qureshi <amaanq12@gmail.com>",
"download_url": "",
"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.21.0",
"project_urls": {
"Homepage": "https://github.com/tree-sitter/tree-sitter-bash"
},
"split_keywords": [
"incremental",
"parsing",
"tree-sitter",
"bash"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a9edd71874bcd04508b6a82039ac6c64e4055f35890e61c7ccc3263407788c0c",
"md5": "58d1dfd0b0fb3cb1f623fc2a8c4fc66a",
"sha256": "7e092f09818294073de207ff717a46e83fba1ae71d194d9306f86832c1cc64e3"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "58d1dfd0b0fb3cb1f623fc2a8c4fc66a",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 202583,
"upload_time": "2024-03-13T00:38:48",
"upload_time_iso_8601": "2024-03-13T00:38:48.933325Z",
"url": "https://files.pythonhosted.org/packages/a9/ed/d71874bcd04508b6a82039ac6c64e4055f35890e61c7ccc3263407788c0c/tree_sitter_bash-0.21.0-cp38-abi3-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c3e64f377317fce7ba6e9574f26c694a751f7a2c89d202d3c907c1857cee57e5",
"md5": "ef5a9c481e43c576a4d13a0e690e865a",
"sha256": "b3f9bb54ce704abf822e44bdf67b3e7b402ea92c74b82fda24f32d04483734f8"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "ef5a9c481e43c576a4d13a0e690e865a",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 240650,
"upload_time": "2024-03-13T00:38:50",
"upload_time_iso_8601": "2024-03-13T00:38:50.973986Z",
"url": "https://files.pythonhosted.org/packages/c3/e6/4f377317fce7ba6e9574f26c694a751f7a2c89d202d3c907c1857cee57e5/tree_sitter_bash-0.21.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d7a4dd0ec9e85f60417fde8535bc1da9c17b7f642b4755007621f5264ea4b4e1",
"md5": "cc0eae911e167181ae74a3c5560cf4e7",
"sha256": "4b32c96ab136ba53197fc542246032f185fe45847658047e2521c82ad2a147c4"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
"has_sig": false,
"md5_digest": "cc0eae911e167181ae74a3c5560cf4e7",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 244859,
"upload_time": "2024-03-13T00:38:52",
"upload_time_iso_8601": "2024-03-13T00:38:52.970750Z",
"url": "https://files.pythonhosted.org/packages/d7/a4/dd0ec9e85f60417fde8535bc1da9c17b7f642b4755007621f5264ea4b4e1/tree_sitter_bash-0.21.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7493a98837f38a579f540263062840c8d8ed1c11e63bfb895a55adc0587b0321",
"md5": "b1809dedc2c0b07e60d2f513bcfd182d",
"sha256": "8c7d3acd4fc2934f8e1174dde32160fa45c01c7112d9178ca44144c42e538501"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-musllinux_1_1_i686.whl",
"has_sig": false,
"md5_digest": "b1809dedc2c0b07e60d2f513bcfd182d",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 245028,
"upload_time": "2024-03-13T00:38:54",
"upload_time_iso_8601": "2024-03-13T00:38:54.543464Z",
"url": "https://files.pythonhosted.org/packages/74/93/a98837f38a579f540263062840c8d8ed1c11e63bfb895a55adc0587b0321/tree_sitter_bash-0.21.0-cp38-abi3-musllinux_1_1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a22465b414b3ce2717083b15896f306390c7f66b6d7fdcd89a76e9c86669c10b",
"md5": "89b17e00ca757de325e6bff3d0e75d42",
"sha256": "36ddc74bc7c9da32dc8c8a1ab1ed2879bdef145b72dfcac4d541491aca55e70f"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-musllinux_1_1_x86_64.whl",
"has_sig": false,
"md5_digest": "89b17e00ca757de325e6bff3d0e75d42",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 240806,
"upload_time": "2024-03-13T00:38:55",
"upload_time_iso_8601": "2024-03-13T00:38:55.731462Z",
"url": "https://files.pythonhosted.org/packages/a2/24/65b414b3ce2717083b15896f306390c7f66b6d7fdcd89a76e9c86669c10b/tree_sitter_bash-0.21.0-cp38-abi3-musllinux_1_1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "987f7e03f938601c99b138070ce1ab8c94c734928e4aadb0480031128de5df03",
"md5": "d8903b7b9e9fd58ff29b2b2cdc50b4a4",
"sha256": "9b10a499614fff650c8e7ff1de776ed2bcab85b591d01f16016e8fbbb67aad1d"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-win32.whl",
"has_sig": false,
"md5_digest": "d8903b7b9e9fd58ff29b2b2cdc50b4a4",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 210188,
"upload_time": "2024-03-13T00:38:57",
"upload_time_iso_8601": "2024-03-13T00:38:57.485368Z",
"url": "https://files.pythonhosted.org/packages/98/7f/7e03f938601c99b138070ce1ab8c94c734928e4aadb0480031128de5df03/tree_sitter_bash-0.21.0-cp38-abi3-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c94e27ed8040fbbaed7555e9f71f3415541e0c1aacfd0851ca123b798e24a83a",
"md5": "52b4087165f99c308133dd3a742dee57",
"sha256": "85286089fa42bd9ee2884d871e9811101c2f7172ff3aa18f367923a958f1c96d"
},
"downloads": -1,
"filename": "tree_sitter_bash-0.21.0-cp38-abi3-win_amd64.whl",
"has_sig": false,
"md5_digest": "52b4087165f99c308133dd3a742dee57",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 204871,
"upload_time": "2024-03-13T00:38:59",
"upload_time_iso_8601": "2024-03-13T00:38:59.246210Z",
"url": "https://files.pythonhosted.org/packages/c9/4e/27ed8040fbbaed7555e9f71f3415541e0c1aacfd0851ca123b798e24a83a/tree_sitter_bash-0.21.0-cp38-abi3-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-13 00:38:48",
"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"
}