9 releases (breaking)

Uses new Rust 2024

0.8.0 May 11, 2025
0.7.0 Apr 26, 2025
0.6.0 Mar 23, 2025
0.5.0 Dec 14, 2024
0.3.0 Jul 12, 2024

#1916 in Command line utilities

Download history 28/week @ 2025-02-12 2/week @ 2025-02-19 112/week @ 2025-03-19 16/week @ 2025-03-26 3/week @ 2025-04-02 9/week @ 2025-04-09 5/week @ 2025-04-16 109/week @ 2025-04-23 152/week @ 2025-04-30 175/week @ 2025-05-07 98/week @ 2025-05-14

535 downloads per month
Used in 3 crates

GPL-3.0-or-later

2.5MB
52K SLoC

Semantics of the shell language.

This crate defines the standard semantics for the shell language. The core of the semantics is command execution and word expansion. A command can be executed by calling Command::execute. A word can be expanded by using functions and traits defined in expansion.

The read_eval_loop reads, parses, and executes commands from an input. It is a utility for running a shell script.


Yash-semantics

yash-semantics is a Rust library crate that implements the semantics of the shell command language used in yash.

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

License

This crate is distributed under GPLv3.

Dependencies

~8–18MB
~261K SLoC