Skip to main content

tree-sitter-golang

CI crates npm pypi

Go grammar for tree-sitter, at the language version of Go 1.27.

The grammar follows the Go specification and the parsers of the Go release: it parses what go/parser and the compiler's parser accept, with the tree structure of go/ast, and reports an error wherever a grammar can see that one of them rejects the input. It does not do the checks of the type checker.

A text that does not start with a package clause is a fragment, such as a code block of a document: the grammar parses its import declarations, declarations and statements in any order.

Versioning

The version of the grammar is X.Y.P. It is not a semantic version.

1.27.0
|    |
|    +-- P: the number of the grammar release for that Go version; the first release is 0
+------- X.Y: the newest Go version that the grammar covers
  • X.Y is the newest Go language version that the grammar covers. Each 1.27.P covers Go 1.27, and the first release for Go 1.28 is 1.28.0.
  • P is the grammar's own number. It counts the releases of the grammar for one Go version, and it does not follow the patch number of a Go release. 1.27.1 is the second release of the grammar for Go 1.27. It is not a grammar for the Go release 1.27.1.

A new P is a new release of the grammar for the same Go version: a correction of the trees or of the queries. A new X.Y adds the syntax of a newer Go version. Go stays at major version 1, so the version cannot mark a breaking change: a release adds node kinds and fields, and does not rename or remove one.

References

Metadata

Release files for tree-sitter-golang 1.27.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-golang 1.27.0
File Size Uploaded
tree_sitter_golang-1.27.0.tar.gz 269.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-golang 1.27.0
File
tree_sitter_golang-1.27.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
tree_sitter_golang-1.27.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
tree_sitter_golang-1.27.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details
tree_sitter_golang-1.27.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.10 abi3 Linux glibc 2.5+ x86-64, Linux glibc 2.28+ x86-64 Details
tree_sitter_golang-1.27.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
tree_sitter_golang-1.27.0-cp310-abi3-macosx_10_9_x86_64.whl CPython 3.10 abi3 macOS 10.9+ x86-64 Details

Total release size: 1.4 MB

Release files / tree_sitter_golang-1.27.0.tar.gz

Download URL tree_sitter_golang-1.27.0.tar.gz
Size 269.1 kB
Tags Source
SHA-256 checksum
How to use checksums
798f636b185a4600498803a3d70a78a811ffc67040a4ea09c5dc2cb0e97a7f24
BLAKE2b-256 checksum
How to use checksums
cf5b8ecda69a1d407b5682f6eab75151dd205df96c6d10949caa2cd732f61687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-win_arm64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-win_arm64.whl
Size 116.0 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
7bb16ca92a6e42e16c68ee41dfebdcd52b5b65e956b4fe2c759d521f5965ab15
BLAKE2b-256 checksum
How to use checksums
d277ace9ab7dc8fa78340f111344de141ac297d8df7bda931ca6c28254a05ecd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-win_amd64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-win_amd64.whl
Size 115.8 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f7052a4ce680821c9795ed457bf1a75b7c004558ecc3cfd3a6dab303797f6319
BLAKE2b-256 checksum
How to use checksums
b82f51e3e7d776ee6b8cf506a68601505039f0033e4646fd200eb8385c6cd911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 158.8 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
302bc5c7da2e40b8d99d00c60fc63a7f8ece707697f7ce23ac01faff70f2cda2
BLAKE2b-256 checksum
How to use checksums
7e01d81709c53f0190d7f7be6daa57c4ce1d86960228385d5e5751516814141a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 161.6 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
c4d9e9826141fe0b58dd0eeb53bb8b8b6652235048f7d7274fd525a35abcd0ed
BLAKE2b-256 checksum
How to use checksums
81cc95f72985c935eac78d409ed1fc7455f2a32a873817ce09db4505dfe40cf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 163.5 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
e8a1a19ebdab668ea123befc02ff23e320b893c99bae6889975e2001a7b99a5e
BLAKE2b-256 checksum
How to use checksums
750d4a1a006b64cc1b43506f42e0911d5f3891f9ba7b4721e549e04631dd1fc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 159.5 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
9a2101f220cde150521684593a63f28dc555c5d9a7aac07cb475a867cc0ed905
BLAKE2b-256 checksum
How to use checksums
25e8082223cdcafd88ffbd1f776d10a1a62a845ec8e3203b51b06459a66ff0a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-macosx_11_0_arm64.whl
Size 118.8 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
42734245874f83279b69ef9f064360144cc6944761b351d1a077dcfa328f7977
BLAKE2b-256 checksum
How to use checksums
9723e799ae33fdf324876c8870a8b3c5a1b65e254a524b5c8c942ade8d7134bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release files / tree_sitter_golang-1.27.0-cp310-abi3-macosx_10_9_x86_64.whl

Download URL tree_sitter_golang-1.27.0-cp310-abi3-macosx_10_9_x86_64.whl
Size 112.7 kB
Tags CPython 3.10 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
cc9b33d9e2feb4a518ccb27ce7ba115a05ab062c39194b748226eb639699054a
BLAKE2b-256 checksum
How to use checksums
2bb0b9f31bec2187b53879d0c90c28df7ed9aa0a2da132f47269a2f2c10ab567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 8, 2026.

Transparency log

Release history Release notifications | RSS feed

1.27.1

9 release files

This release

1.27.0 This release

9 release files

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