9 releases (breaking)
0.8.0 | Apr 8, 2024 |
---|---|
0.7.0 | Nov 11, 2023 |
0.6.1 | May 1, 2023 |
0.6.0 | Oct 1, 2022 |
0.1.0 | Dec 11, 2021 |
#1175 in Parser implementations
184 downloads per month
Used in 6 crates
625KB
13K
SLoC
Yash-syntax
yash-syntax
is a Rust library crate for parsing shell script source code.
This crate is part of yash, but can be used independently to
parse POSIX-compatible shell scripts.
Note that yash-syntax
does not include functionality for executing parsed scripts.
Features
- Parsing POSIX-compatible shell scripts
- Supporting all syntax constructs including compound commands
- Performing alias substitution
Usage
Add yash-syntax
as a dependency in your Cargo.toml
.
See the API documentation for details.
License
This crate is distributed under GPLv3.
Dependencies
~1.3–2MB
~42K SLoC