#incremental #parsing #bash

tree-sitter-bash

bash grammar for the tree-sitter parsing library

1 unstable release

0.19.0 Mar 4, 2021

#88 in #bash

Download history 18/week @ 2022-12-02 32/week @ 2022-12-09 18/week @ 2022-12-16 24/week @ 2022-12-23 9/week @ 2022-12-30 15/week @ 2023-01-06 9/week @ 2023-01-13 30/week @ 2023-01-20 26/week @ 2023-01-27 32/week @ 2023-02-03 11/week @ 2023-02-10 38/week @ 2023-02-17 16/week @ 2023-02-24 21/week @ 2023-03-03 19/week @ 2023-03-10 23/week @ 2023-03-17

88 downloads per month
Used in 3 crates (2 directly)

MIT license

3.5MB
130K SLoC

C 129K SLoC JavaScript 548 SLoC C++ 369 SLoC Rust 41 SLoC // 0.1% comments

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

Dependencies

~1.3–1.9MB
~51K SLoC