tree-sitter-golang
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.Yis the newest Go language version that the grammar covers. Each1.27.Pcovers Go 1.27, and the first release for Go 1.28 is1.28.0.Pis 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.1is 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tree_sitter_golang-1.27.1.tar.gz | 269.2 kB | Details |
Built distributions (wheels)
Total release size: 1.4 MB
Release files / tree_sitter_golang-1.27.1.tar.gz
| Download URL | tree_sitter_golang-1.27.1.tar.gz |
|---|---|
| Size | 269.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bd84052c59340279eda63faec80f5e045af5579abfd009e13004d6fd50d4465
|
|
BLAKE2b-256 checksum How to use checksums |
1afbc53bc35df8c57cc1b5ac53c42a216ef25524c441d1d20abc748714cfdbe3
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-win_arm64.whl
| Download URL | tree_sitter_golang-1.27.1-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 116.0 kB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a1be0980e80ebd80cc546fd545850afd93ca733b5a59f1517c0f6712a3d5fccc
|
|
BLAKE2b-256 checksum How to use checksums |
3beef8911dde51522140dc25ef4922959f3f1c35db11bbea35adace950cb5100
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-win_amd64.whl
| Download URL | tree_sitter_golang-1.27.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 115.8 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ef3af58544eb4268bc60cf2508ff550760c5fd3e0059325db84171ec5f34780a
|
|
BLAKE2b-256 checksum How to use checksums |
14ff194330e58370f022d2fa1a4a9c8e726425bf7eb77876cd0d27cd3fd2e8fd
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
88f7e4004248e7a697a62df6f7852f0e84297491956f1e6be75beef2ee1b3bf3
|
|
BLAKE2b-256 checksum How to use checksums |
6e8a89ec80907f49bc3305ea86770e4a09f612870fb5104ecb702a54b101b7c5
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
6e7cbaabafab414c88a61a18916754ae64ed0060a401a1984f09bd58aa7611bd
|
|
BLAKE2b-256 checksum How to use checksums |
78000a541e2e519adeb1601bfc90a081fd7029ad9c2e41616085518893e20352
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
a32da8de735d8a2906caa3ecb209514af3239acedb5fe646375deb705ee5d25e
|
|
BLAKE2b-256 checksum How to use checksums |
7253dd7b30e6f96ac02a14aee1595cdbaa14717a42876e1624a1ec902efe8682
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
b0e82f5d73d5877643a0405abbe22d1305f072e3c2bd0477815d9e177a271024
|
|
BLAKE2b-256 checksum How to use checksums |
7931a2f1457d080eec47227e944e2158c542e31aa54b00dca353509940cffe22
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
b24b9088dbed3502b7174af1074b5cea4dfc5877db9b19699052847b856056c8
|
|
BLAKE2b-256 checksum How to use checksums |
7c7e5868d30f4ba81047c4a75a35559d69a3c0f2527b6ad7ec37d8128d7d3869
|
| 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 11, 2026.
Transparency logRelease files / tree_sitter_golang-1.27.1-cp310-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_golang-1.27.1-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 |
7e93c7350b6e73edcde30f6ad7bac3c6dc3b9e9d68241b50b83c63bb17ab7df4
|
|
BLAKE2b-256 checksum How to use checksums |
2daf80e17788523236a3953627b7ad6d83773bc4b23f02a5d1ff91411d79ca2f
|
| 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 11, 2026.
Transparency log