Skip to main content

tree-sitter-gnuplot

CI codecov npm crates.io PyPI License: MIT PRs Welcome

A tree-sitter grammar for gnuplot 6.x.

Supports .gnuplot, .gp, .plt, .plot, .gnu files. Built with an external scanner for command disambiguation, comprehensive syntax highlighting queries, and 92 corpus tests.

This project is the next evolution of gnuplot.vim, designed for accuracy to gnuplot 6 syntax and long-term maintainability.

Node and field stability

Node type names and field names are the query API: highlights.scm, editor plugins and language servers match on them, and a change that leaves the schema valid can still make an existing query match nothing. Such changes are released as breaking.

Function plots bind their expression to the function field of plot_element. Earlier releases bound it to data, which is now used only for datafile and datablock sources, so a query written as (plot_element data: (function ...)) must become (plot_element function: (function ...)). Both fields already existed, so node-types.json remains backward compatible — only which field the parser populates changed.

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_gnuplot-4.1.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

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

tree_sitter_gnuplot-4.1.0-cp310-abi3-win_arm64.whl (561.1 kB view details)

Uploaded CPython 3.10+Windows ARM64

tree_sitter_gnuplot-4.1.0-cp310-abi3-win_amd64.whl (562.9 kB view details)

Uploaded CPython 3.10+Windows x86-64

tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl (596.0 kB view details)

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

tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_aarch64.whl (591.9 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (596.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (593.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_11_0_arm64.whl (618.7 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_10_9_x86_64.whl (558.8 kB view details)

Uploaded CPython 3.10+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_gnuplot-4.1.0.tar.gz.

File metadata

  • Download URL: tree_sitter_gnuplot-4.1.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tree_sitter_gnuplot-4.1.0.tar.gz
Algorithm Hash digest
SHA256 dec3810553599ab68d923931cb4b9639a4764531ea416d62d8ac8f0d4a310213
MD5 8f913feee5bcd98e37c2f4b7a32fb513
BLAKE2b-256 86465d0ed2f2f7612a07663f6c76bf34feeed6d29839813e2cabb7013f3fc31c

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3fecf9f2543e6ee4cedc19ba216c5447ecdf650ad06df8e6274cfd12aae0f3cb
MD5 59f2d9d44c1bd9716b83efc2fc3d144a
BLAKE2b-256 75efb5b9037249fcac651dcd3caf4b740988bcdb85a3837ab9583cc9a6372950

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 11ae3de9f4ee12056df525314a75ae389ddaf4383a3c8e2035960ebf9d9c6e11
MD5 a5c955897ba86fc8b9a7ca4d8c4e3c16
BLAKE2b-256 fc8ec5f2c991f04b066e13f374aa6e8521590ea8431b5d399694d729fb2935df

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5529871c9236016409ef231c1fb25e0efa79bc5b7f423471215da858c69326b5
MD5 d189f3f4e7dbf5ff5e6d9c3599a6d38c
BLAKE2b-256 aa5f377fe37f80080c186b943c073e576382a2fffe2130ffb2ed2b62b52cde98

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9284e42134c853dc16b64b02e0f58a77469f1f65753563b69d3f03a818f43205
MD5 70a481ee20c83c6271c3764d292bec39
BLAKE2b-256 46f15beea5de2b9b407aa9c8cc3cc94f1c65766454395dba90db4088b7b42538

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a564d2a40701468b231c70c7c1c6347e24a7652b70cae8f95e7afe3629410a3
MD5 b9b2cff694c7f90f5c340e864bb49cd5
BLAKE2b-256 031dfbe7b7a736c9d89e8d2ea7cb38ec349f527e93383a807be1ad2fe6712c4a

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6e3463066f631283e7ff766ca33abefce1b7e36a49e8517a12e08d2e05f02576
MD5 dc19e036e73c1247662cc49b614e46a9
BLAKE2b-256 12f09adc3248c1f339d82d8cbf07c7db6cbe7111d5ed875cbba4641cae9ec7b3

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a60be8e395390eface9dc04cf282cf3c5768eff796d31666033fc702ef08ef67
MD5 0cd624865cef7da0a8b63260ead769de
BLAKE2b-256 fccb3260ecf11ca937688dac3afa73f8c7205a48604792d4f453740f6f213514

See more details on using hashes here.

File details

Details for the file tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_gnuplot-4.1.0-cp310-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4e71fa06ed6534f8b9f14020a1b6677f0a896bc8fac4f53ac5be1cb176cc1fce
MD5 f4a1eec3db4256768d9ab6ac1301032c
BLAKE2b-256 c342dc1fcf740ca213b535864ce192504daa95c753f85e84ee87045b3f051600

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.1.0 This release

9 files

4.0.1

9 files

4.0.0

9 files

2.0.4

9 files

2.0.3

9 files

2.0.2

9 files

2.0.1

9 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