8 releases (breaking)

Uses new Rust 2024

new 0.7.1 May 3, 2025
0.7.0 Apr 26, 2025
0.6.0 Mar 23, 2025
0.5.0 Dec 14, 2024
0.1.0 Apr 13, 2024

#1868 in Command line utilities

Download history 7/week @ 2025-01-08 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

130 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
~260K SLoC