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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b7091f4506b50f1c09a43a4e6eca976edf4d51b7ea8d3e4211226c299f8db4 |
|
MD5 | 2769f58aa3d73f27aec2da82b08f6088 |
|
BLAKE2b-256 | edd66fcb0a13f929f6b3fb7d41f879722419e208a1745e43afdac84649b4a088 |
Close
Hashes for tree_sitter_builder-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 018f78617de4261c1601747aec244f76bb6114c897b2c8d6025f2f5edd5b6d39 |
|
MD5 | 0e88cdd36e865299b9eccec736b881d9 |
|
BLAKE2b-256 | 8d416ea6da5ea15cfcf9465053f733352bb15765c1639bdd029268e8d88d4ec5 |