cypherlite_query/lib.rs
1#![warn(missing_docs)]
2//! CypherLite query engine: lexer, parser, semantic analyzer, planner, and executor.
3//!
4//! This crate implements the full Cypher query pipeline for the CypherLite
5//! embedded graph database. It transforms Cypher query strings through a
6//! multi-stage pipeline: lexical analysis (logos), recursive-descent parsing,
7//! semantic validation, logical plan generation, and Volcano/Iterator-model
8//! execution.
9
10/// Public API entry points: database handle, query execution, and result types.
11pub mod api;
12/// Volcano/Iterator-model query executor with operator tree evaluation.
13pub mod executor;
14/// Lexical analyzer (tokenizer) built on the logos crate.
15pub mod lexer;
16/// Recursive-descent Cypher parser producing an AST.
17pub mod parser;
18/// Logical query planner and optimizer.
19pub mod planner;
20/// Semantic analysis: scope resolution, type checking, and validation.
21pub mod semantic;
22
23pub use api::{CypherLite, FromValue, QueryResult, Row, Transaction};
24pub use executor::{Params, Value};