Thanks to visit codestin.com
Credit goes to lib.rs

19 releases (breaking)

Uses new Rust 2024

new 0.15.1 Sep 14, 2025
0.15.0 May 11, 2025
0.14.1 May 3, 2025
0.14.0 Mar 23, 2025
0.1.0 Dec 11, 2021

#378 in Parser implementations

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

181 downloads per month
Used in 9 crates (8 directly)

GPL-3.0-or-later

735KB
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.

yash-syntax at crates.io yash-syntax at docs.rs Build status

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.1–2MB
~41K SLoC