Skip to content

you06/yasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YASP

Yet Another SQL Parser.

This parser is designed for standard SQL.

Usage

Add dependency to your Cargo.toml.

[dependencies]
yasp = { git = "https://github.com/airyworks/yasp" }
use yasp::grammar;

fn main() {
    let exprs = grammar::ExprsParser::new()
        .parse("select * from sakura; select rin, shizuku, * from uta")
        .unwrap();

    for expr in exprs {
        println!("expr: {}", expr);
    }
}

About

Yet another SQL parser in rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages