Skip to main content

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


Download files

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

Source Distribution

pharo_tree_sitter-0.1.0.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl (43.0 kB view details)

Uploaded CPython 3.10+macOS 10.13+ universal2 (ARM64, x86-64)

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

Hashes for pharo_tree_sitter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d02cf23a0a1d4c94b3b177bc625358b49fc471726e1696423708ca607bd29def
MD5 936cd82335ce00e9fb9668c6bc4df3da
BLAKE2b-256 47340f0a3d630e38e512b8f1ea321e9f67774f76c7717551e95a41425bd452b9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pharo_tree_sitter-0.1.0-cp310-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 d69afbc7d3c8781991380fb621511c0d2ed14a60fbd52108cf4458f52d6b415b
MD5 c3bcbdaf3d633be79e107efa8b96bc5e
BLAKE2b-256 99454fd39c672cbcf41bc9e1e221bb56325203e6d3928bc057c9cf1723c936df

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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