Skip to content

Commit

Permalink
build: regenerate and update bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Aug 26, 2024
1 parent 55a9b8a commit 636e407
Show file tree
Hide file tree
Showing 14 changed files with 51,918 additions and 51,911 deletions.
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[package]
name = "tree-sitter-python"
description = "Python grammar for tree-sitter"
version = "0.21.0"
version = "0.23.0"
authors = [
"Max Brunsfeld <[email protected]>",
"Amaan Qureshi <[email protected]>",
]
license = "MIT"
readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "python"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter/tree-sitter-python"
Expand All @@ -21,7 +20,10 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
path = "bindings/rust/lib.rs"

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

[build-dependencies]
cc = "1.0.89"

[dev-dependencies]
tree-sitter = "0.23.0"
2 changes: 1 addition & 1 deletion Makefile

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

2 changes: 1 addition & 1 deletion bindings/go/binding_test.go

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

9 changes: 9 additions & 0 deletions bindings/node/binding_test.js

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

11 changes: 11 additions & 0 deletions bindings/python/tests/test_binding.py

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

6 changes: 3 additions & 3 deletions bindings/python/tree_sitter_python/binding.c

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

35 changes: 0 additions & 35 deletions bindings/rust/README.md

This file was deleted.

21 changes: 10 additions & 11 deletions bindings/rust/lib.rs

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

12 changes: 12 additions & 0 deletions bindings/swift/TreeSitterPythonTests/TreeSitterPythonTests.swift

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

8 changes: 6 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module github.com/tree-sitter/tree-sitter-python

go 1.22
go 1.23

require github.com/smacker/go-tree-sitter v0.0.0-20230720070738-0d0a9f78d8f8
toolchain go1.23.0

require github.com/tree-sitter/go-tree-sitter v0.23.1

require github.com/mattn/go-pointer v0.0.1 // indirect
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-python",
"version": "0.21.0",
"version": "0.23.0",
"description": "Python grammar for tree-sitter",
"repository": "github:tree-sitter/tree-sitter-python",
"license": "MIT",
Expand Down Expand Up @@ -43,12 +43,13 @@
}
},
"scripts": {
"build": "tree-sitter generate --no-bindings",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "tree-sitter test",
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --strip"
"prebuildify": "prebuildify --napi --strip",
"prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground",
"test": "node --test bindings/node/*_test.js"
},
"tree-sitter": [
{
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,26 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-python"
description = "Python grammar for tree-sitter"
version = "0.21.0"
keywords = ["parsing", "incremental", "python"]
version = "0.23.0"
keywords = ["incremental", "parsing", "tree-sitter", "python"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Compilers",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed",
]
authors = [
{name = "Max Brunsfeld"},
{name = "Amaan Qureshi"}
{ name = "Max Brunsfeld", email = "[email protected]" },
{ name = "Amaan Qureshi", email = "[email protected]" },
]
requires-python = ">=3.8"
license.text = "MIT"
readme = "README.md"

[project.urls]
Homepage = "https://github.com/tree-sitter/tree-sitter-python"

[project.optional-dependencies]
core = ["tree-sitter~=0.21"]

Expand Down
Loading

0 comments on commit 636e407

Please sign in to comment.