Skip to main content

tree-sitter-toolang

Tree-sitter parser for Toolang .too files, with Python and Rust bindings and editor queries.

Python

from tree_sitter import Language, Parser
import tree_sitter_toolang

parser = Parser(Language(tree_sitter_toolang.language()))
tree = parser.parse(b"flow hello:\n  run: Hello.\n")

The package exposes HIGHLIGHTS_QUERY, INJECTIONS_QUERY, INDENTS_QUERY, OUTLINE_QUERY, and TAGS_QUERY as query strings.

Rust

let mut parser = tree_sitter::Parser::new();
parser.set_language(&tree_sitter_toolang::LANGUAGE.into())?;
let tree = parser.parse("flow hello:\n  run: Hello.\n", None).unwrap();

Development

Development requires Node.js, a C compiler, Python, and Rust. Run these checks from a configured checkout:

npm run check
.venv/bin/python -m pytest tests
.venv/bin/python -m unittest discover -s scripts -p 'test_*.py'
cargo test

See the publishing guide for release instructions.

Metadata

Release files for tree-sitter-toolang 0.4.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 tree-sitter-toolang 0.4.0
File Size Uploaded Provenance Actions
tree_sitter_toolang-0.4.0.tar.gz 192.2 kB With provenance Details for tree_sitter_toolang-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-toolang 0.4.0
File Actions
tree_sitter_toolang-0.4.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for tree_sitter_toolang-0.4.0-cp311-abi3-win_amd64.whl
tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl
tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl
tree_sitter_toolang-0.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for tree_sitter_toolang-0.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
tree_sitter_toolang-0.4.0-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.5+ x86-64 Details for tree_sitter_toolang-0.4.0-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
tree_sitter_toolang-0.4.0-cp311-abi3-macosx_10_9_universal2.whl CPython 3.11 abi3 macOS 10.9+ universal2 (ARM64, x86-64) Details for tree_sitter_toolang-0.4.0-cp311-abi3-macosx_10_9_universal2.whl

Total release size: 669.9 kB

Release files / tree_sitter_toolang-0.4.0.tar.gz

Download URL tree_sitter_toolang-0.4.0.tar.gz
Size 192.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0a4fd944404ff07551d6596eac9a8668f66feec7d585b2f7e5803697b5fbc864
BLAKE2b-256 checksum
How to use checksums
95bf71f3e4320a399789039f71fce225a23e8ec2f9d4c1902aeeeb852e9a71e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-win_amd64.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-win_amd64.whl
Size 48.1 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
27d5f33ed72ec15b63dd0ea3e0d7ddbdaf86afbcbd4a9c9778a94531fbc1991f
BLAKE2b-256 checksum
How to use checksums
1f96ea393bbec560c984dad49fbf7c260b329c37b5521c56ca1fd9bcde84ca03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 84.8 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
feaa23585a2d0786c432a401bd307d454298ff382c5af332b6498c91ee1fbac5
BLAKE2b-256 checksum
How to use checksums
73c51f3270839c0925f307f410778af3d9d0377161da4ade5de47148f9500938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 86.8 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
89cfe9018cd58e654f1e4d455db342fd71bfe5d0dc0bcdac7313cf7acf180334
BLAKE2b-256 checksum
How to use checksums
9ba0e6521b7050df42192b54add2248e8adfcd21d5ace2024e640bbb7138d29e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 88.6 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
6a1420ec232a5f347f7133c5f51c7f94e3da8fef17316a88077a6507bc7f4d2c
BLAKE2b-256 checksum
How to use checksums
1aed7e646a9cc9005671611c5b49c9baabe8754c28f792b5d1202aa58772c5a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 85.2 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
ff16dc4d00e7054d711698ca202de232d257b0cd6253ba3ec1990ef944297612
BLAKE2b-256 checksum
How to use checksums
c62a9f3739d2085acd18a82726f2104be42d54cb52d4f6d972d6a0277f477d75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Release files / tree_sitter_toolang-0.4.0-cp311-abi3-macosx_10_9_universal2.whl

Download URL tree_sitter_toolang-0.4.0-cp311-abi3-macosx_10_9_universal2.whl
Size 84.2 kB
Tags CPython 3.11 abi3 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
2cef9c41965b6a764eafcda935631d64170f95bfc0e70068360698bf99713f08
BLAKE2b-256 checksum
How to use checksums
4823593080364ab11bbe960bf32dd098ad6168cddb66d5178d98924930954a15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 24, 2026.

Transparency log

Security for tree-sitter-toolang 0.4.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

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for tree_sitter_toolang-0.4.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 Oct 24, 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.4.0 This release

7 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