Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tree-sitter 0.23.0 #5

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,toml,yml,gyp}]
indent_style = space
Expand All @@ -14,11 +11,11 @@ indent_size = 2
indent_style = space
indent_size = 2

[*.rs]
[*.{c,cc,h}]
indent_style = space
indent_size = 4

[*.{c,cc,h}]
[*.rs]
indent_style = space
indent_size = 4

Expand All @@ -37,3 +34,6 @@ indent_size = 8
[Makefile]
indent_style = tab
indent_size = 8

[parser.c]
indent_size = 2
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text eol=lf
* text=auto eol=lf

src/*.json linguist-generated
src/parser.c linguist-generated
Expand Down
37 changes: 35 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
node_modules/
build/
# Rust artifacts
target/

# Node artifacts
build/
prebuilds/
node_modules/
*.tgz

# Swift artifacts
.build/
Package.resolved

# Go artifacts
_obj/

# Python artifacts
.venv/
dist/
*.egg-info
*.whl

# C artifacts
*.a
*.so
*.so.*
*.dylib
*.dll
*.pc

# Example dirs
/examples/*/

# Grammar volatiles
*.wasm
*.obj
*.o
42 changes: 30 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tree-sitter-ql-dbscheme"
description = "QlDbscheme grammar for tree-sitter"
description = "QL DBScheme grammar for tree-sitter"
version = "0.0.1"
license = "MIT"
readme = "README.md"
Expand All @@ -17,7 +17,10 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = ">=0.22.5"
tree-sitter-language = "0.1.0"

[build-dependencies]
cc = "1.0.87"
cc = "1.1.15"

[dev-dependencies]
tree-sitter = "0.23"
28 changes: 15 additions & 13 deletions Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions Package.resolved

This file was deleted.

73 changes: 37 additions & 36 deletions Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# tree-sitter-ql-dbscheme
tree-sitter support for `.dbscheme` files (as used in CodeQL).

[![CI][ci]](https://github.com/tree-sitter/tree-sitter-ql-dbscheme/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-ql-dbscheme)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-ql-dbscheme)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-ql-dbscheme)

`.dbscheme` grammar for [tree-sitter][] (as used in CodeQL).

[tree-sitter]: https://github.com/tree-sitter/tree-sitter
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-ql-dbscheme/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-ql-dbscheme?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-ql-dbscheme?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-ql-dbscheme?logo=pypi&logoColor=ffd242
1 change: 0 additions & 1 deletion binding.gyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/c/tree-sitter-ql_dbscheme.pc.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/go/binding_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading