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 275 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.

The ! shell form now stores the whole logical line in (cmd_system (shell_command)), replacing its former expression children (identifier, string_literal, etc.). This requires a breaking release for consumers of that tree shape. The system <expression> form keeps its tree.

Backquotes are opaque command_substitution nodes in expressions and double-quoted strings; single-quoted strings keep them literal. Both these substitutions and shell_command inject their shell text as Bash. The parser does not expand shell output into generated commands or keywords.

Computed expressions (sin(x)*exp(-x), numbers, ternaries, sums, parenthesized forms) moved from data to function as well. data keeps string literals, datablocks, bare variable references and top-level . string concatenation.

Metadata

Release files for tree-sitter-gnuplot 5.0.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-gnuplot 5.0.0
File Size Uploaded Provenance Actions
tree_sitter_gnuplot-5.0.0.tar.gz 1.7 MB Without provenance Details for tree_sitter_gnuplot-5.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-gnuplot 5.0.0
File Actions
tree_sitter_gnuplot-5.0.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-win_arm64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-win_amd64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_x86_64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_aarch64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_11_0_arm64.whl
tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_10_9_x86_64.whl CPython 3.10 abi3 macOS 10.9+ x86-64 Details for tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_10_9_x86_64.whl

Total release size: 6.7 MB

Release files / tree_sitter_gnuplot-5.0.0.tar.gz

Download URL tree_sitter_gnuplot-5.0.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
e1feadd8f6b659db0cb18bd53588edf3ff0c34f47caeecc8fb63bcae284b5211
BLAKE2b-256 checksum
How to use checksums
4457ce5e2a17d96d8cb87eca21bbb9318ade2cc9466319308990e491254abfda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-win_arm64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-win_arm64.whl
Size 597.6 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
bd7b650d4f63743b3c9ea5d09519b3d6515b6d785343e725f60c33fc95f79099
BLAKE2b-256 checksum
How to use checksums
6a20ce7caf1d21f63aece6c9515ab4dfcb93a5ad4741c856a7711b389ace1ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-win_amd64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-win_amd64.whl
Size 602.1 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9dffd94993b58ee17f84fc42abeaa76c7f9929a9bc3e36d7c62846b12d818fe2
BLAKE2b-256 checksum
How to use checksums
8dfbb7c3e6655464ec3d8ae2793d37e5301d5470c76ab86a154ba031423ce7d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 635.1 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c8231a7c96eaf2d7f54413fe525fadd18d742bb1bb5486dbce17803c99316e3f
BLAKE2b-256 checksum
How to use checksums
dc2aa879f3e9b482cbe3f1baa4dcd164b8aa4e2686ffedec79abc2d5bf8c1df4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 632.9 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
64beb78adea9da52f512dfbce769c017757f56a815c228a7bb4fe1af96413edb
BLAKE2b-256 checksum
How to use checksums
dea39d56d108602957b4c0a9919769f03d6e1295d5e3580c2c1ef4e5a45c43b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 635.8 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
40cfe1b70904f41cc6dcf0f40b369062428947a9f1392c4f0c2df38e162e34b8
BLAKE2b-256 checksum
How to use checksums
9b6ec9f32d9fc7e02996873f4e93304196bb183fad296c13de59673cf82ef428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 634.3 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
886ad243d62bb40495b0543b1c7d3ce3c5ff2348b3c59f337f53d16f0e47a5ed
BLAKE2b-256 checksum
How to use checksums
a502d9f4cea70cb9be6f56e4d2861dd0f452f020ffd0a036c788565fe6d6f070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_11_0_arm64.whl
Size 660.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b08795c57d4c6a9392b078b4211e65cfd479a53102b55f810407c396a8057760
BLAKE2b-256 checksum
How to use checksums
12a8333f63f4357771640afbd3ec04149dfdd6cabb4b6e6d96572981fe4072d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_10_9_x86_64.whl

Download URL tree_sitter_gnuplot-5.0.0-cp310-abi3-macosx_10_9_x86_64.whl
Size 597.3 kB
Tags CPython 3.10 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
ad67d1f05cacb78fd2b6a345d752a45442bacf2a2362c65b0cf540e98804f52e
BLAKE2b-256 checksum
How to use checksums
f93a537b0db899ccdca6eb05ffa1612fcc962447d31030171a9e2bb1c2a65956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tree-sitter-gnuplot 5.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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