Expand description
SQL Expression Parser Library
This library provides a parser for SQL boolean expressions following the grammar defined in SqlExprParser-EBNF-Final.ebnf
The parser enforces type safety at the grammar level: all top-level expressions must evaluate to boolean values, while arithmetic and value expressions can only appear as operands to relational operators.
Re-exports§
pub use ast::BooleanExpr;pub use ast::RelationalExpr;pub use ast::ValueExpr;pub use ast::ValueLiteral;pub use ast::EqualityOp;pub use ast::ComparisonOp;pub use parser::parse;pub use parser::ParseError;pub use evaluator::evaluate;pub use evaluator::RuntimeValue;pub use evaluator::EvalError;