Crate yash_semantics
source ·Expand description
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
.
A ReadEvalLoop
reads, parses, and executes commands from an
input. It is a utility for running a shell script.
Re-exports§
pub use yash_env::semantics::*;
Modules§
- Assignment.
- Command execution
- Command search.
- Word expansion.
- Redirection semantics.
- Handling traps.
- Helper items for printing expansion results
Structs§
- Read-eval-loop
Traits§
- Error handler.