6 releases (breaking)

Uses new Rust 2024

0.6.0 Mar 23, 2025
0.5.0 Dec 14, 2024
0.4.0 Sep 28, 2024
0.3.0 Jul 12, 2024
0.1.0 Apr 13, 2024

#2621 in Command line utilities

Download history 6/week @ 2025-01-07 1/week @ 2025-01-14 23/week @ 2025-02-11 7/week @ 2025-02-18 102/week @ 2025-03-18 22/week @ 2025-03-25 6/week @ 2025-04-01 10/week @ 2025-04-08

140 downloads per month
Used in 3 crates

GPL-3.0-or-later

2.5MB
51K 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

~7–18MB
~260K SLoC