//! Reef — bash compatibility layer for fish shell.
//!
//! Provides bash detection, translation, passthrough execution, and a
//! persistent bash coprocess daemon for seamless bash usage from fish.
//!
//! # Modules
//!
//! - [`detect`] — fast heuristic for identifying bash-specific syntax
//! - [`translate`] — bash-to-fish translation via AST
//! - [`parser`] — recursive-descent bash parser (produces [`ast`] nodes)
//! - [`ast`] — zero-copy abstract syntax tree types
//! - [`passthrough`] — bash subprocess execution with environment diffing
//! - [`daemon`] — persistent bash coprocess over a Unix domain socket
//! - [`env_diff`] — environment snapshot capture and diffing
//! - [`state`] — state file persistence for exported variables
// Targeted pedantic allows — each justified:
// `use crate::ast::*` is intentional for AST types
// parser/translator functions are inherently long
// local structs near their usage is clearer