| Crates.io | vibesql-parser |
| lib.rs | vibesql-parser |
| version | 0.1.4 |
| created_at | 2025-12-04 00:01:56.10607+00 |
| updated_at | 2026-01-19 06:25:37.916305+00 |
| description | SQL parser for vibesql database engine |
| homepage | |
| repository | https://github.com/rjwalters/vibesql |
| max_upload_size | |
| id | 1965520 |
| size | 1,711,145 |
SQL:1999 compliant parser for VibeSQL database engine.
This crate provides tokenization and parsing of SQL statements into the shared AST. It implements a full SQL:1999 parser with support for modern SQL features.
Add this to your Cargo.toml:
[dependencies]
vibesql-parser = "0.1"
Basic example:
use vibesql_parser::Parser;
let sql = "SELECT name, age FROM users WHERE age > 18";
let mut parser = Parser::new(sql);
match parser.parse() {
Ok(statements) => {
// Process parsed AST
for stmt in statements {
println!("{:?}", stmt);
}
}
Err(e) => eprintln!("Parse error: {}", e),
}
This project is licensed under either of:
at your option.