pnc_engine/lib.rs
1//! PNC engine — arbitrary-precision RPN calculator core.
2//!
3//! Provides values, units, operations, parsing, stack history, and persistence.
4//! The engine is a pure library with no I/O; the binary crate (`pnc`) owns
5//! frontends (TUI/CLI), logging, and terminal lifecycle.
6
7pub mod clipboard;
8pub mod error;
9pub mod ops;
10pub mod parse;
11pub mod persist;
12pub mod stack;
13pub mod unit;
14pub mod value;
15
16pub use error::PncError;
17pub use persist::DisplayMode;
18pub use unit::Dimension;
19pub use unit::UnitId;
20pub use value::Value;