graphitesql 0.0.0

A pure, safe, no_std Rust re-implementation of SQLite, compatible with the SQLite 3 file format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The SQL front end: tokenizer, AST, and parser.
//!
//! Text enters as a `&str` and leaves as [`ast::Statement`]s. The pipeline is
//! [`token`] → [`parser`] → [`ast`]. The grammar tracks SQLite's `parse.y`; the
//! parser is hand-written recursive descent with a Pratt expression core so we
//! get precise control over error messages and operator precedence.

pub mod ast;
pub mod parser;
pub mod token;

pub use parser::{parse, parse_one};