vce-shell 0.1.1

VCE Shell layer: command language, builtins, execution coordination
Documentation
#![warn(missing_docs)]

//! The Shell layer of the Virtual Computing Engine (VCE).
//!
//! This crate implements the **Shell** layer of the architecture: four
//! concrete shells over two shared cores. Bash and Zsh share the execution
//! core ([`core::ShellCore`]); PowerShell and cmd share the Windows
//! machinery ([`windows_core`]). Each shell owns its own grammar, builtin
//! table, and dialect. Applications drive shells through the
//! [`shell::Shell`] trait, so a VM can boot into whichever shell its OS
//! declares.

/// The common [`Shell`] trait implemented by every shell.
pub mod shell;

/// The shared shell execution core.
pub mod core;

/// Word expansion in the session.
pub mod expansion;

/// The Bash shell implementation.
pub mod bash;

/// The Zsh shell implementation.
pub mod zsh;

/// The PowerShell shell implementation (Windows).
pub mod powershell;

/// The cmd shell implementation (Windows Command Prompt).
pub mod cmd;

/// The machinery Windows shells share (path handling, external execution,
/// redirect I/O).
pub mod windows_core;

/// The maximum number of history entries any shell retains.
///
/// One limit for every shell: Bash and Zsh share the execution core's
/// list, while PowerShell and cmd each keep their own. The cap is a single
/// fact.
pub const HISTORY_LIMIT: usize = 1000;

pub use crate::shell::Shell;