25 releases (breaking)
Uses new Rust 2024
| 0.20.0 | Apr 29, 2026 |
|---|---|
| 0.19.0 | Feb 4, 2026 |
| 0.18.0 | Jan 15, 2026 |
| 0.17.0 | Nov 25, 2025 |
| 0.1.0 | Dec 11, 2021 |
#719 in Parser implementations
282 downloads per month
Used in 7 crates
(6 directly)
2MB
41K
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
~5–11MB
~230K SLoC