Pharo grammar for tree-sitter
Project description
Tree-Sitter Grammar for Pharo Smalltalk
An adaptation of the Tree-Sitter Smalltalk grammar for Pharo. It also includes parsing whole files (in Tonel format).
Python Package
Install the package locally from this repository:
python3 -m pip install .
After the package is published to PyPI, install it with:
python3 -m pip install pharo-tree-sitter
Use it from Python with the tree_sitter_pharo import:
import tree_sitter
import tree_sitter_pharo
PHARO_LANGUAGE = tree_sitter.Language(tree_sitter_pharo.language())
print(tree_sitter_pharo.HIGHLIGHTS_QUERY)
Build the source distribution and wheel:
python3 -m pip install build twine
python3 -m build
Upload the package to PyPI:
python3 -m twine upload dist/*
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pharo_tree_sitter-0.1.0.tar.gz.
File metadata
- Download URL: pharo_tree_sitter-0.1.0.tar.gz
- Upload date:
- Size: 43.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02cf23a0a1d4c94b3b177bc625358b49fc471726e1696423708ca607bd29def
|
|
| MD5 |
936cd82335ce00e9fb9668c6bc4df3da
|
|
| BLAKE2b-256 |
47340f0a3d630e38e512b8f1ea321e9f67774f76c7717551e95a41425bd452b9
|
Provenance
The following attestation bundles were made for pharo_tree_sitter-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on pharo-llm/pharo-tree-sitter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pharo_tree_sitter-0.1.0.tar.gz -
Subject digest:
d02cf23a0a1d4c94b3b177bc625358b49fc471726e1696423708ca607bd29def - Sigstore transparency entry: 1967126186
- Sigstore integration time:
-
Permalink:
pharo-llm/pharo-tree-sitter@15a76ba647c059242bdc2ae02cebca983b131162 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pharo-llm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@15a76ba647c059242bdc2ae02cebca983b131162 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl.
File metadata
- Download URL: pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl
- Upload date:
- Size: 43.0 kB
- Tags: CPython 3.10+, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d69afbc7d3c8781991380fb621511c0d2ed14a60fbd52108cf4458f52d6b415b
|
|
| MD5 |
c3bcbdaf3d633be79e107efa8b96bc5e
|
|
| BLAKE2b-256 |
99454fd39c672cbcf41bc9e1e221bb56325203e6d3928bc057c9cf1723c936df
|
Provenance
The following attestation bundles were made for pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl:
Publisher:
publish-pypi.yml on pharo-llm/pharo-tree-sitter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl -
Subject digest:
d69afbc7d3c8781991380fb621511c0d2ed14a60fbd52108cf4458f52d6b415b - Sigstore transparency entry: 1967126475
- Sigstore integration time:
-
Permalink:
pharo-llm/pharo-tree-sitter@15a76ba647c059242bdc2ae02cebca983b131162 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pharo-llm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@15a76ba647c059242bdc2ae02cebca983b131162 -
Trigger Event:
workflow_dispatch
-
Statement type: