"tree-sitter-html>=0.23.0", "tree-sitter-javascript>=0.23.0", Expand Down 148 changes: 95 additions & 53 deletions 148 tests/test_parser.py Show comments View file Edit file Delete file This file contains bi
url = https://github.com/tree-sitter/tree-sitter-embedded-template [submodule "tree-sitter-html"] path = tests/fixtures/tree-sitter-html url = https://github.com/tree-sitter/tree-sitter-html [submodule "tree-sitter-javascript"] path = tests/fixtures/tree-sitter-javascript url = https://...
"tree_sitter_cpp": ["*.pyi", "py.typed"], "tree_sitter_cpp.queries": ["*.scm"], }, ext_package="tree_sitter_cpp", ext_modules=[ Extension( name="_binding", sources=[ "bindings/python/tree_sitter_cpp/binding.c", "src/parser.c", "src/scanner.c", ], extr...
First you'll need a Tree-sitter language implementation for each language that you want to parse. git clone https://github.com/tree-sitter/tree-sitter-go git clone https://github.com/tree-sitter/tree-sitter-javascript git clone https://github.com/tree-sitter/tree-sitter-python ...
tests/fixtures", "tree_sitter/core", ] [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.cibuildwheel] build-frontend = "build" test-command = "python -munittest discover -s {project}/tests" [tool.cibuildwheel.environment] PYTHONWARNINGS = "ignore:::tree_sitter"...
"""Py-Tree-sitter""" from platform import system from setuptools import Extension, setup setup( packages=["tree_sitter"], include_package_data=False, package_data={ "tree_sitter": ["py.typed", "*.pyi"] }, ext_modules=[ Extension( name="tree_sitter._binding", sources=[ "tree_sitter...
leezu / py-tree-sitter Public forked from tree-sitter/py-tree-sitter Notifications Fork 0 Star 0 Code Pull requests Actions Projects Security Insights Automate your workflow from idea to production GitHub Actions makes it easy to automate all your software workflows, now with world-...
src\tree_sitter_lsp\__init__.py:20: in <module> from tree_sitter import Node, Tree, TreeCursor C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\site-packages\tree_sitter\__init__.py:5: in <module> from distutils.ccompiler import new_compiler E ModuleNotFoundError: No module named ...
Hi @paul-gauthier , thanks for your work on aider. I've been having a blast using it. This project uses https://github.com/grantjenks/py-tree-sitter-languages, but that project is unmaintained and has been for several months. This forces...
There are a several issues noting the breaking changes introduced by treesitter 0.22 (eg, #64 and #67). There is the PR #65 to fix this. Ideally, some fix would be implemented, but I understand that is complicated. As a quick fix perhaps consider pinning the the version of tree-...