Skip to main content

tree-sitter-gdscript

GDScript grammar for tree-sitter.

Latest Godot Commit Syntactically Synced

Note: Some commits may have been missed.

git log --oneline --no-merges modules/gdscript

6ae54fd787

How To

  • Test grammar
    1. npm run genTest
  • Test scanner
    1. Edit "src/scanner.c"
    2. npm run test, no need to generate.
  • Build prebuilds
    1. npm run genTest
    2. npm run prebuild
  • Build with node-gyp
    1. npm run genTest
    2. npm install node-gyp
    3. node-gyp rebuild
  • Edit
    1. Write tests in corpus to express behavior.
    2. Make grammar or scanner edits.
    3. See above for running tests.
    4. npm run format
    5. Commit changes.
      • If commit is an issue fix, prefix message with fix(#<issue-number>):
      • List the rules changed in commit message.
      • Note what rules need to be updated in nvim-treesitter queries.
    6. Commit generated files with the latest non-wip commit.
    7. Push
  • Release
    1. Manually edit version in package files: CMakeLists.txt, Cargo.toml, Makefile, pyproject.toml, tree-sitter.json
    2. npm version <major, minor, patch> -m "<> version bump"
    3. git push --follow-tags

Note: node-gyp-build will check for binaries in both build and prebuilds directories.

Python package (PyPI)

pip install tree-sitter-gdscript
import tree_sitter_gdscript

repowise-dev publishes the upstream release unchanged to PyPI, with thanks to @PrestonKnopp for the grammar.

Download files

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

Source Distribution

tree_sitter_gdscript-6.1.0.tar.gz (107.8 kB view details)

Uploaded Source

Built Distributions

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

tree_sitter_gdscript-6.1.0-cp39-abi3-win_amd64.whl (51.3 kB view details)

Uploaded CPython 3.9+Windows x86-64

tree_sitter_gdscript-6.1.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (76.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

tree_sitter_gdscript-6.1.0-cp39-abi3-macosx_11_0_arm64.whl (52.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file tree_sitter_gdscript-6.1.0.tar.gz.

File metadata

  • Download URL: tree_sitter_gdscript-6.1.0.tar.gz
  • Upload date:
  • Size: 107.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tree_sitter_gdscript-6.1.0.tar.gz
Algorithm Hash digest
SHA256 33c4406a47ca5e3c436849d2a9b878a161b6f4fda305cf5620f60abebf5acf9e
MD5 08828514f262f35a2807fa6447b33286
BLAKE2b-256 d561d681398e5551b27b3ae32026665392f41f8ca2764847acecc727312e462e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tree_sitter_gdscript-6.1.0.tar.gz:

Publisher: publish.yml on repowise-dev/tree-sitter-gdscript

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

File details

Details for the file tree_sitter_gdscript-6.1.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_gdscript-6.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2b87ea4cf21b3c33a00406840936f073b0db344ac46215f88edb8f72c72c761
MD5 932be5ec4552e32df980daf7899187d6
BLAKE2b-256 341058b1ad211163473162648a96be4ed3c25d98dfc1b2f846802b99e540424d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tree_sitter_gdscript-6.1.0-cp39-abi3-win_amd64.whl:

Publisher: publish.yml on repowise-dev/tree-sitter-gdscript

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

File details

Details for the file tree_sitter_gdscript-6.1.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gdscript-6.1.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85558120e50ee87b6847bb81273f7a5c8fadcbc7d4ee531701f8ed403d8de33c
MD5 27edd51b22bac17d776e978c5a77ffad
BLAKE2b-256 e696f724d35e7dcb443f6c8b3bb73e8a211d96abed8d829078511cfa9af8b2b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tree_sitter_gdscript-6.1.0-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on repowise-dev/tree-sitter-gdscript

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

File details

Details for the file tree_sitter_gdscript-6.1.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_gdscript-6.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c588efba0ae4e1aa385caadcc19b3854b1270a855337ba5e4df1da4bbf5c38d1
MD5 9f6cb67a9532a50a24dadbf3372f15d6
BLAKE2b-256 f42ceab1b3890a99c85f97638b55d9d5745746fb3afc4b392e2363c7f8ed7d03

See more details on using hashes here.

Provenance

The following attestation bundles were made for tree_sitter_gdscript-6.1.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on repowise-dev/tree-sitter-gdscript

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

Release history Release notifications | RSS feed

This release

6.1.0 This release

4 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