├── .gitignore ├── Cargo.toml ├── Makefile ├── README.md ├── binding.gyp ├── bindings ├── node │ ├── binding.cc │ └── index.js └── rust │ ├── build.rs │ └── lib.rs ├── corpus ├── comment.txt ├── expressions.txt └── select.txt ├── examples └── simple.sql ├── grammar.js ├── package.json ├── queries └── sql │ └── highlights.scm ├── scripts └── tests_to_corpus.lua ├── src ├── grammar.json ├── node-types.json ├── parser.c └── tree_sitter │ └── parser.h └── tests ├── comment.scm └── select.scm /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | parser/ 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /corpus/comment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/corpus/comment.txt -------------------------------------------------------------------------------- /corpus/expressions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/corpus/expressions.txt -------------------------------------------------------------------------------- /corpus/select.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/corpus/select.txt -------------------------------------------------------------------------------- /examples/simple.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/examples/simple.sql -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/package.json -------------------------------------------------------------------------------- /queries/sql/highlights.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/queries/sql/highlights.scm -------------------------------------------------------------------------------- /scripts/tests_to_corpus.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/scripts/tests_to_corpus.lua -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /tests/comment.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/tests/comment.scm -------------------------------------------------------------------------------- /tests/select.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tjdevries/tree-sitter-sql/HEAD/tests/select.scm --------------------------------------------------------------------------------