Skip to main content

aether/api/
mod.rs

1use crate::cache::ASTCache;
2use crate::evaluator::Evaluator;
3use crate::optimizer::Optimizer;
4
5mod cache;
6mod constructors;
7mod debug;
8mod eval;
9mod limits;
10mod stdlib;
11mod trace;
12
13/// 主要的 Aether 引擎结构体
14pub struct Aether {
15    pub(crate) evaluator: Evaluator,
16    pub(crate) cache: ASTCache,
17    pub(crate) optimizer: Optimizer,
18    /// 整数字面量超过该位数后切换为 BigInteger(传给解析期 Lexer)
19    pub(crate) bigint_threshold: usize,
20}