Skip to content

Commit

Permalink
Merge pull request #7 from hatoo/update
Browse files Browse the repository at this point in the history
update
  • Loading branch information
hatoo authored Jun 7, 2024
2 parents 07cf31d + 371be86 commit 6ba1067
Show file tree
Hide file tree
Showing 29 changed files with 1,627 additions and 756 deletions.
296 changes: 187 additions & 109 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions egglog-language-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
tokio = { version = "1.32.0", features = ["full"] }
tower-lsp = "0.20.0"
tree-sitter-egglog = { path = "../tree-sitter-egglog" }
tree-sitter = "0.21.0"
tree-sitter-highlight = "0.21.0"
tree-sitter = "0.22.6"
tree-sitter-highlight = "0.22.6"
dashmap = "5.5.1"
anyhow = "1.0.75"
39 changes: 39 additions & 0 deletions tree-sitter-egglog/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
root = true

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

[*.{json,toml,yml,gyp}]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.rs]
indent_style = space
indent_size = 4

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

[*.{py,pyi}]
indent_style = space
indent_size = 4

[*.swift]
indent_style = space
indent_size = 4

[*.go]
indent_style = tab
indent_size = 8

[Makefile]
indent_style = tab
indent_size = 8
11 changes: 11 additions & 0 deletions tree-sitter-egglog/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text eol=lf

src/*.json linguist-generated
src/parser.c linguist-generated
src/tree_sitter/* linguist-generated

bindings/** linguist-generated
binding.gyp linguist-generated
setup.py linguist-generated
Makefile linguist-generated
Package.swift linguist-generated
9 changes: 2 additions & 7 deletions tree-sitter-egglog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ edition = "2018"
license = "MIT"

build = "bindings/rust/build.rs"
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*",
]
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]

[lib]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "~0.21.0"
tree-sitter = "~0.22.6"

[build-dependencies]
cc = "1.0"
112 changes: 112 additions & 0 deletions tree-sitter-egglog/Makefile

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

47 changes: 47 additions & 0 deletions tree-sitter-egglog/Package.swift

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

23 changes: 17 additions & 6 deletions tree-sitter-egglog/binding.gyp

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

16 changes: 16 additions & 0 deletions tree-sitter-egglog/bindings/c/tree-sitter-egglog.h

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

11 changes: 11 additions & 0 deletions tree-sitter-egglog/bindings/c/tree-sitter-egglog.pc.in

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

13 changes: 13 additions & 0 deletions tree-sitter-egglog/bindings/go/binding.go

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

15 changes: 15 additions & 0 deletions tree-sitter-egglog/bindings/go/binding_test.go

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

5 changes: 5 additions & 0 deletions tree-sitter-egglog/bindings/go/go.mod

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

36 changes: 14 additions & 22 deletions tree-sitter-egglog/bindings/node/binding.cc

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

Loading

0 comments on commit 6ba1067

Please sign in to comment.