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
.
The read_eval_loop
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§
- assign
- Assignment.
- command
- Command execution
- command_
search - Command search.
- expansion
- Word expansion.
- job
- Utilities for job control
- redir
- Redirection semantics.
- trap
- Handling traps.
- xtrace
- Helper items for printing expansion results
Structs§
- Read
Eval Loop Deprecated - Read-eval-loop
Traits§
- Handle
- Error handler.
Functions§
- interactive_
read_ eval_ loop read_eval_loop
for interactive shells- read_
eval_ loop - Reads input, parses it, and executes commands in a loop.