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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tree_sitter_builder-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 557d53fe809a173d46f7b9da25246fa3f19a73ed0ae06c69d7e15c8d731478b6 |
|
MD5 | 2167dc5525ec6d8a7b6e8e721b6eda0b |
|
BLAKE2b-256 | 3b2eea3e7b34d4ed54ff25faecfac060ae64aa8051e8901c3b4e371019f8ddea |
Close
Hashes for tree_sitter_builder-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039adcca041d082bf8ddec05d751445b60b84cae51bc34b1c74ffd76d53a5595 |
|
MD5 | 7a4b423a9602cf26c4ef8edcbc6965aa |
|
BLAKE2b-256 | 71502f01e5493c8526202b2e3473e809c1cce98b3ecaa7237650451c71143f21 |