Skip to main content

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/*

Metadata

Release files for pharo-tree-sitter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pharo-tree-sitter 0.1.0
File Size Uploaded Provenance Actions
pharo_tree_sitter-0.1.0.tar.gz 43.7 kB With provenance Details for pharo_tree_sitter-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pharo-tree-sitter 0.1.0
File Interpreter ABI Platform Actions
pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl CPython 3.10 abi3 macOS 10.13+ universal2 (ARM64, x86-64) Details for pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl

Total release size: 86.7 kB

Release files / pharo_tree_sitter-0.1.0.tar.gz

Download URL pharo_tree_sitter-0.1.0.tar.gz
Size 43.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d02cf23a0a1d4c94b3b177bc625358b49fc471726e1696423708ca607bd29def
BLAKE2b-256 checksum
How to use checksums
47340f0a3d630e38e512b8f1ea321e9f67774f76c7717551e95a41425bd452b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Release files / pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl

Download URL pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl
Size 43.0 kB
Tags CPython 3.10 abi3 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
d69afbc7d3c8781991380fb621511c0d2ed14a60fbd52108cf4458f52d6b415b
BLAKE2b-256 checksum
How to use checksums
99454fd39c672cbcf41bc9e1e221bb56325203e6d3928bc057c9cf1723c936df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

Security for pharo-tree-sitter 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pharo_tree_sitter-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page