mirror of
https://github.com/gorules/zen.git
synced 2026-10-06 16:02:19 +00:00
* feat: expression function system * cleanup * improve parser * revert test changes * add more tests * minor fixes
22 lines
602 B
Rust
22 lines
602 B
Rust
//! Parses Tokens into AST
|
|
//!
|
|
//! The Parser module processes tokens from the Lexer, constructing an Abstract Syntax Tree (AST).
|
|
//!
|
|
//! It's available in two specialized variants:
|
|
//! - Standard, designed for comprehensive expression evaluation yielding any result
|
|
//! - Unary, specifically created for truthy tests with exclusive boolean outcomes
|
|
mod ast;
|
|
mod constants;
|
|
mod error;
|
|
mod parser;
|
|
mod result;
|
|
mod standard;
|
|
mod unary;
|
|
|
|
pub use ast::Node;
|
|
pub use error::ParserError;
|
|
pub use parser::Parser;
|
|
pub use result::{NodeMetadata, ParserResult};
|
|
pub use standard::Standard;
|
|
pub use unary::Unary;
|