Skip to main content

No project description provided

Project description

python-tree-sitter-builder

Install

poetry install
ln -s $(poetry run which tree-sitter-builder) ~/.local/bin/

Usage

build

Clone specified repository and build tree-sitter language parser.

If it contains ://, it assumes that the entire git URL has been specified. Otherwise, assume it is GitHub and clone the repository.

tree-sitter-builder build conao3/tree-sitter-sql

Clone into $XDG_DATA_HOME/tree-sitter-builder/repos/*.

If you omit the repository name, tree-sitter-builder will build all repositories.

dist

Returns the path to builded parser shared object.

$ python-tree-sitter-builder % tree-sitter-builder dist conao3/tree-sitter-sql
/Users/conao/Library/Application Support/tree-sitter-builder/build/conao3__tree-sitter-sql.so

update

Update all repositories.

tree-sitter-builder update

list

List all repositories.

tree-sitter-builder list

remove

Remove specified repository.

tree-sitter-builder remove conao3/tree-sitter-sql

clean

Remove all build files.

tree-sitter-builder clean

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree_sitter_builder-0.1.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

tree_sitter_builder-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page