12 breaking releases
new 0.13.0 | Dec 14, 2024 |
---|---|
0.12.1 | Nov 9, 2024 |
0.12.0 | Sep 28, 2024 |
0.10.0 | Jul 12, 2024 |
0.1.0 | Dec 11, 2021 |
#321 in Parser implementations
383 downloads per month
Used in 9 crates
(8 directly)
705KB
15K
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.2–2.1MB
~43K SLoC