Skip to main content

Game Modeling Language (GML) grammar for tree-sitter

Project description

tree-sitter-gml

tree-sitter-gml is a Game Modeling Language (GML) grammar for tree-sitter, an incremental parsing system for programming tools.

Features

  • Incremental parsing of GML
  • Python bindings
  • MIT licensed

Installation

Python

Install via pip:

pip install tree-sitter-gml

Usage

Python

import tree_sitter_gml

# Example usage

Development

Generating grammar

To generate the grammar, run:

tree-sitter generate

Testing

To run all tests, use:

tree-sitter test

or

tree-sitter test --overview-only

Parsing

To parse a file, use:

tree-sitter parse -rd0 path/to/file.gml

or run test number 31, use:

tree-sitter parse -d -n 31

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

Authors

  • Approxit

Links

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

tree_sitter_gml-0.1.1.tar.gz (12.6 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_gml-0.1.1-cp39-abi3-win_arm64.whl (11.1 kB view details)

Uploaded CPython 3.9+Windows ARM64

tree_sitter_gml-0.1.1-cp39-abi3-win_amd64.whl (12.4 kB view details)

Uploaded CPython 3.9+Windows x86-64

tree_sitter_gml-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

tree_sitter_gml-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

tree_sitter_gml-0.1.1-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.4 kB view details)

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

tree_sitter_gml-0.1.1-cp39-abi3-macosx_11_0_arm64.whl (9.9 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

tree_sitter_gml-0.1.1-cp39-abi3-macosx_10_9_x86_64.whl (9.3 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_gml-0.1.1.tar.gz.

File metadata

  • Download URL: tree_sitter_gml-0.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for tree_sitter_gml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d7c1f1e2d2330652fdb76b77a39825704a7086cd3fe7c06afe3418859e03deb
MD5 d991142e5d12e862ddec0bf8ded25796
BLAKE2b-256 6ac85af8153e4a5d85801808cb637295a57dff6aab9f7206fcea314b18339e96

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8b20d1b3e078601818c3254559c3113567ecd2404ef1c7122baaa8a9848fc410
MD5 ff0ca8ee013d57a225cc19a8d1c507fc
BLAKE2b-256 98258a162fc143b81e9811474fbdd8b338ede6a9421b68311db075dc300a435d

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d44be27563ed61c95efadf1daad907a5862eaf6100da8329497f7bd8ba70fc03
MD5 1e3899df1b69d532f116c8c4d73252a1
BLAKE2b-256 6d62ac37f647867f26238d6dc2f9e47b838fc85e2ee7e94f1fa1682ab701df7f

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a3570e565f7d991734ad39f1f0c97e40741d1948ea55cabc3ef747e9cb328e6
MD5 fe21dbbe5217a69a0bebef44d1f83433
BLAKE2b-256 bb696dfef1447a0426a2d32f285421ee20147b57fd76edd359a027c082cd7089

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f2600fc3de2774a99a6aa4fe67d2827a129c080e7d143abc52a787ce0e923d0b
MD5 ebdcb71e97f6a1bcd98cd55a866ee946
BLAKE2b-256 74430966bb8d565d58aab029706f1df7c67ff784a625cfe88806c39866f196b8

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-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_gml-0.1.1-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9327a4b807e99109a39597311f8bcc77ec93fa0ddf5950867d1e96ea321f3f62
MD5 4865c1be2ebdb62078926ffdea392631
BLAKE2b-256 8aef968728c3488821aca1e6fc388a4d53552f86960dc0406460714e0f12f100

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce83ede43db8b0499ebd30c84387dac66315486437fe94f9efd3060ba9b40eed
MD5 7716a5366b3b34a68d657bb1197418e8
BLAKE2b-256 1a506d42cc1f1eceda249d38b84ff7557a778082e71830a3e7133f463ca87dda

See more details on using hashes here.

File details

Details for the file tree_sitter_gml-0.1.1-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gml-0.1.1-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f2b0605590f267b56f841cae70f53324eb687df8c284829624dc7c2f6c7aaf32
MD5 63bbbb0f9136eef2b9397feba9e9b27e
BLAKE2b-256 376ac4987aa3a1dd74a830b1b4374b9e5b9e7b49ad90698fc49fcbb5a5e7a8e7

See more details on using hashes here.

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