#parser #incremental #db3-sql

db3-sqlparser

db3-sql grammar for the tree-sitter parsing library

1 unstable release

0.0.1 Jul 5, 2022

#118 in #parsing

MIT license

13MB
349K SLoC

C 348K SLoC JavaScript 1K SLoC // 0.0% comments Rust 31 SLoC // 0.5% comments

sqlparser

sqlparser for db3


lib.rs:

This crate provides db3_sql language support for the tree-sitter parsing library.

Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:

let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_db3_sql::language()).expect("Error loading db3_sql grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.8–4MB
~76K SLoC