File tree Expand file tree Collapse file tree 8 files changed +13
-11
lines changed Expand file tree Collapse file tree 8 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 10
10
dist /
11
11
* .egg-info /
12
12
13
- .venv /
13
+ .venv /
14
+
15
+ .vscode /
Original file line number Diff line number Diff line change 47
47
48
48
.. code :: python
49
49
50
- from textual_tree_sitter_languages import get_language, get_parser
50
+ from tree_sitter_languages import get_language, get_parser
51
51
52
52
language = get_language(' python' )
53
53
parser = get_parser(' python' )
@@ -140,7 +140,7 @@ Enter `tree-sitter`_
140
140
141
141
.. code :: python
142
142
143
- from textual_tree_sitter_languages import get_language, get_parser
143
+ from tree_sitter_languages import get_language, get_parser
144
144
145
145
language = get_language(' python' )
146
146
parser = get_parser(' python' )
Original file line number Diff line number Diff line change 39
39
print ()
40
40
41
41
if sys .platform == "win32" :
42
- languages_filename = "textual_tree_sitter_languages \\ languages.dll"
42
+ languages_filename = "tree_sitter_languages \\ languages.dll"
43
43
else :
44
- languages_filename = "textual_tree_sitter_languages /languages.so"
44
+ languages_filename = "tree_sitter_languages /languages.so"
45
45
46
46
print (f"{ sys .argv [0 ]} : Building" , languages_filename )
47
47
Language .build_library (
79
79
"vendor/tree-sitter-markdown" ,
80
80
"vendor/tree-sitter-objc" ,
81
81
"vendor/tree-sitter-ocaml/ocaml" ,
82
- "vendor/tree-sitter-perl" ,
83
82
"vendor/tree-sitter-php" ,
84
83
"vendor/tree-sitter-python" ,
85
84
"vendor/tree-sitter-ql" ,
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ requires = [
32
32
build-backend = " setuptools.build_meta"
33
33
34
34
[tool .setuptools ]
35
- packages = [" textual_tree_sitter_languages " ]
36
- package-data = {"textual_tree_sitter_languages " = [" languages.so" , " languages.dll" ]}
35
+ packages = [" tree_sitter_languages " ]
36
+ package-data = {"tree_sitter_languages " = [" languages.so" , " languages.dll" ]}
37
37
ext-modules = [
38
- {name = " textual_tree_sitter_languages " , sources = [" textual_tree_sitter_languages /core.pyx" ]}
38
+ {name = " tree_sitter_languages " , sources = [" tree_sitter_languages /core.pyx" ]}
39
39
]
40
40
41
41
[tool .cython ]
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ https://github.com/dhcmrlchtdj/tree-sitter-sqlite 993be0a91c0c90b0cc7799e6ff6592
9
9
https://github.com/elixir-lang/tree-sitter-elixir 11426c5fd20eef360d5ecaf10729191f6bc5d715
10
10
https://github.com/elm-tooling/tree-sitter-elm c26afd7f2316f689410a1622f1780eff054994b1
11
11
https://github.com/fwcd/tree-sitter-kotlin 0ef87892401bb01c84b40916e1f150197bc134b1
12
- https://github.com/ganezdragon/tree-sitter-perl 15a6914b9b891974c888ba7bf6c432665b920a3f
13
12
https://github.com/ikatyang/tree-sitter-markdown 8b8b77af0493e26d378135a3e7f5ae25b555b375
14
13
https://github.com/ikatyang/tree-sitter-yaml 0e36bed171768908f331ff7dff9d956bae016efb
15
14
https://github.com/jiyee/tree-sitter-objc afec0de5a32d5894070b67932d6ff09e4f7c5879
Original file line number Diff line number Diff line change 1
- from textual_tree_sitter_languages import get_language , get_parser
1
+ from tree_sitter_languages import get_language , get_parser
2
2
3
3
LANGUAGES = [
4
4
"bash" ,
Original file line number Diff line number Diff line change 2
2
Binary wheels for tree-sitter for several common languages.
3
3
Does not support tree-sitter v0.22.0 and above.
4
4
"""
5
+
6
+ from .core import get_language , get_parser
File renamed without changes.
You can’t perform that action at this time.
0 commit comments