Skip to content

Commit f42683a

Browse files
committed
build: update bindings
1 parent 5a03bd2 commit f42683a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+7889
-4861
lines changed

.editorconfig

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
6+
[*.{json,toml,yml,gyp}]
7+
indent_style = space
8+
indent_size = 2
9+
10+
[*.js]
11+
indent_style = space
12+
indent_size = 2
13+
14+
[*.scm]
15+
indent_style = space
16+
indent_size = 2
17+
18+
[*.{c,cc,h}]
19+
indent_style = space
20+
indent_size = 4
21+
22+
[*.rs]
23+
indent_style = space
24+
indent_size = 4
25+
26+
[*.{py,pyi}]
27+
indent_style = space
28+
indent_size = 4
29+
30+
[*.swift]
31+
indent_style = space
32+
indent_size = 4
33+
34+
[*.go]
35+
indent_style = tab
36+
indent_size = 8
37+
38+
[Makefile]
39+
indent_style = tab
40+
indent_size = 8
41+
42+
[parser.c]
43+
indent_size = 2

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* text=auto eol=lf
2+
3+
src/*.json linguist-generated
4+
src/parser.c linguist-generated
5+
src/tree_sitter/* linguist-generated
6+
7+
bindings/** linguist-generated
8+
binding.gyp linguist-generated
9+
setup.py linguist-generated
10+
Makefile linguist-generated
11+
CMakeLists.txt linguist-generated
12+
Package.swift linguist-generated
13+
go.mod linguist-generated

.gitignore

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
1-
node_modules
2-
build
3-
package-lock.json
4-
*.log
5-
uvm
1+
# Rust artifacts
2+
target/
3+
4+
# Node artifacts
5+
build/
6+
prebuilds/
7+
node_modules/
8+
9+
# Swift artifacts
10+
.build/
11+
12+
# Go artifacts
13+
_obj/
14+
15+
# Python artifacts
16+
.venv/
17+
dist/
18+
*.egg-info
19+
*.whl
20+
21+
# C artifacts
22+
*.a
23+
*.so
24+
*.so.*
25+
*.dylib
26+
*.dll
27+
*.pc
28+
29+
# Example dirs
30+
/examples/*/
31+
32+
# Grammar volatiles
33+
*.wasm
34+
*.obj
35+
*.o
36+
37+
# Archives
638
*.tar.gz
7-
.build/
39+
*.tgz
40+
*.zip

CMakeLists.txt

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.lock

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
[package]
22
name = "tree-sitter-verilog"
3-
description = "verilog grammar for the tree-sitter parsing library"
4-
version = "0.0.1"
5-
keywords = ["incremental", "parsing", "verilog"]
6-
categories = ["parsing", "text-editors"]
7-
repository = "https://github.com/tree-sitter/tree-sitter-javascript"
8-
edition = "2018"
3+
description = "Verilog grammar for tree-sitter"
4+
version = "1.0.0"
5+
authors = ["Aliaksei Chapyzhenka", "Amaan Qureshi <amaanq12@gmail.com>"]
96
license = "MIT"
7+
readme = "README.md"
8+
keywords = ["incremental", "parsing", "tree-sitter", "verilog"]
9+
categories = ["parser-implementations", "parsing", "text-editors"]
10+
repository = "https://github.com/tree-sitter/tree-sitter-verilog"
11+
edition = "2021"
12+
autoexamples = false
1013

1114
build = "bindings/rust/build.rs"
12-
include = [
13-
"bindings/rust/*",
14-
"grammar.js",
15-
"queries/*",
16-
"src/*",
17-
]
15+
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
1816

1917
[lib]
2018
path = "bindings/rust/lib.rs"
2119

2220
[dependencies]
23-
tree-sitter = "0.20"
21+
tree-sitter-language = "0.1"
2422

2523
[build-dependencies]
26-
cc = "1.0"
24+
cc = "1.1"
25+
26+
[dev-dependencies]
27+
tree-sitter = "0.24"

0 commit comments

Comments
 (0)