Crates.io | tree-sitter-sequel |
lib.rs | tree-sitter-sequel |
version | |
source | src |
created_at | 2024-07-26 13:03:35.572996 |
updated_at | 2025-02-13 16:05:18.400282 |
description | Tree-sitter Grammar for SQL |
homepage | |
repository | https://github.com/derekstride/tree-sitter-sql.git |
max_upload_size | |
id | 1316097 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A general/permissive SQL grammar for tree-sitter.
We don't commit the generated parser files to the main
branch. Instead, you can find them on the
gh-pages branch. We're open to feedback & encourage you
to open an issue to discuss any problems.
They are also hosted on the GitHub pages site and available for download here: github://derekstride/tree-sitter-sql/gh-pages.tar.gz.
Plugin maintainers ensure to specify the HEAD
(or a specific revision) of the gh-pages
branch when integrating
with this project.
Using git
git clone https://github.com/DerekStride/tree-sitter-sql.git
cd tree-sitter-sql
git checkout gh-pages
Using curl
curl -LO https://github.com/DerekStride/tree-sitter-sql/archive/refs/heads/gh-pages.tar.gz
tar -xzf gh-pages.tar.gz
cd tree-sitter-sql-gh-pages
Tree-sitter parsers need to be compiled as a shared-object / dynamic-library, you can enable this by passing the
-shared
& -fPIC
flags to your compiler.
cc -shared -fPIC -I./src src/parser.c src/scanner.c -o sql.so
cargo add tree-sitter-sequel
npm i @derekstride/tree-sitter-sql
pip install tree-sitter-sql
See CONTRIBUTING.md for documentation on how to set up the project for development.
For a complete list of features see the the tests