tree-sitter-gnuplot 2.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. tree_sitter_gnuplot-2.0.1/LICENSE +21 -0
  2. tree_sitter_gnuplot-2.0.1/PKG-INFO +39 -0
  3. tree_sitter_gnuplot-2.0.1/README.md +19 -0
  4. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot/__init__.py +42 -0
  5. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot/__init__.pyi +10 -0
  6. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot/binding.c +35 -0
  7. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot/py.typed +0 -0
  8. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/PKG-INFO +39 -0
  9. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/SOURCES.txt +16 -0
  10. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/dependency_links.txt +1 -0
  11. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/not-zip-safe +1 -0
  12. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/requires.txt +3 -0
  13. tree_sitter_gnuplot-2.0.1/bindings/python/tree_sitter_gnuplot.egg-info/top_level.txt +2 -0
  14. tree_sitter_gnuplot-2.0.1/pyproject.toml +30 -0
  15. tree_sitter_gnuplot-2.0.1/queries/folds.scm +8 -0
  16. tree_sitter_gnuplot-2.0.1/queries/highlights.scm +434 -0
  17. tree_sitter_gnuplot-2.0.1/queries/injections.scm +17 -0
  18. tree_sitter_gnuplot-2.0.1/setup.cfg +4 -0
  19. tree_sitter_gnuplot-2.0.1/setup.py +77 -0
  20. tree_sitter_gnuplot-2.0.1/src/parser.c +805398 -0
  21. tree_sitter_gnuplot-2.0.1/src/scanner.c +864 -0
  22. tree_sitter_gnuplot-2.0.1/src/tree_sitter/alloc.h +54 -0
  23. tree_sitter_gnuplot-2.0.1/src/tree_sitter/array.h +336 -0
  24. tree_sitter_gnuplot-2.0.1/src/tree_sitter/parser.h +286 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Dai López
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: tree-sitter-gnuplot
3
+ Version: 2.0.1
4
+ Summary: A tree-sitter grammar for gnuplot
5
+ Author-email: Dai López Jacinto <dpezto@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/dpezto/tree-sitter-gnuplot
8
+ Project-URL: Funding, https://github.com/dpezto/tree-sitter-gnuplot
9
+ Keywords: incremental,parsing,tree-sitter,gnuplot
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Compilers
12
+ Classifier: Topic :: Text Processing :: Linguistic
13
+ Classifier: Typing :: Typed
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Provides-Extra: core
18
+ Requires-Dist: tree-sitter~=0.24; extra == "core"
19
+ Dynamic: license-file
20
+
21
+ # tree-sitter-gnuplot
22
+ [![CI](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml/badge.svg)](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml)
23
+ [![codecov](https://codecov.io/gh/dpezto/tree-sitter-gnuplot/branch/main/graph/badge.svg)](https://codecov.io/gh/dpezto/tree-sitter-gnuplot)
24
+ [![npm](https://img.shields.io/npm/v/tree-sitter-gnuplot?logo=npm)](https://www.npmjs.com/package/tree-sitter-gnuplot)
25
+ [![crates.io](https://img.shields.io/crates/v/tree-sitter-gnuplot?logo=rust)](https://crates.io/crates/tree-sitter-gnuplot)
26
+ [![PyPI](https://img.shields.io/pypi/v/tree-sitter-gnuplot?logo=pypi)](https://pypi.org/project/tree-sitter-gnuplot/)
27
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
28
+ [![PRs Welcome][prs-badge]](https://makeapullrequest.com)
29
+
30
+ A tree-sitter grammar for [gnuplot 6.x](http://gnuplot.info).
31
+
32
+ Supports `.gnuplot`, `.gp`, `.plt`, `.plot`, `.gnu` files. Built with an external
33
+ scanner for command disambiguation, comprehensive syntax highlighting queries, and
34
+ 92 corpus tests.
35
+
36
+ This project is the next evolution of [gnuplot.vim](https://github.com/dpezto/gnuplot.vim),
37
+ designed for accuracy to gnuplot 6 syntax and long-term maintainability.
38
+
39
+ [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJzdmcyIiB3aWR0aD0iNjQ1IiBoZWlnaHQ9IjU4NSIgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPiA8ZyBpZD0ibGF5ZXIxIj4gIDxwYXRoIGlkPSJwYXRoMjQxNyIgZD0ibTI5Ny4zIDU1MC44N2MtMTMuNzc1LTE1LjQzNi00OC4xNzEtNDUuNTMtNzYuNDM1LTY2Ljg3NC04My43NDQtNjMuMjQyLTk1LjE0Mi03Mi4zOTQtMTI5LjE0LTEwMy43LTYyLjY4NS01Ny43Mi04OS4zMDYtMTE1LjcxLTg5LjIxNC0xOTQuMzQgMC4wNDQ1MTItMzguMzg0IDIuNjYwOC01My4xNzIgMTMuNDEtNzUuNzk3IDE4LjIzNy0zOC4zODYgNDUuMS02Ni45MDkgNzkuNDQ1LTg0LjM1NSAyNC4zMjUtMTIuMzU2IDM2LjMyMy0xNy44NDUgNzYuOTQ0LTE4LjA3IDQyLjQ5My0wLjIzNDgzIDUxLjQzOSA0LjcxOTcgNzYuNDM1IDE4LjQ1MiAzMC40MjUgMTYuNzE0IDYxLjc0IDUyLjQzNiA2OC4yMTMgNzcuODExbDMuOTk4MSAxNS42NzIgOS44NTk2LTIxLjU4NWM1NS43MTYtMTIxLjk3IDIzMy42LTEyMC4xNSAyOTUuNSAzLjAzMTYgMTkuNjM4IDM5LjA3NiAyMS43OTQgMTIyLjUxIDQuMzgwMSAxNjkuNTEtMjIuNzE1IDYxLjMwOS02NS4zOCAxMDguMDUtMTY0LjAxIDE3OS42OC02NC42ODEgNDYuOTc0LTEzNy44OCAxMTguMDUtMTQyLjk4IDEyOC4wMy01LjkxNTUgMTEuNTg4LTAuMjgyMTYgMS44MTU5LTI2LjQwOC0yNy40NjF6IiBmaWxsPSIjZGQ1MDRmIi8%2BIDwvZz48L3N2Zz4%3D
@@ -0,0 +1,19 @@
1
+ # tree-sitter-gnuplot
2
+ [![CI](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml/badge.svg)](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml)
3
+ [![codecov](https://codecov.io/gh/dpezto/tree-sitter-gnuplot/branch/main/graph/badge.svg)](https://codecov.io/gh/dpezto/tree-sitter-gnuplot)
4
+ [![npm](https://img.shields.io/npm/v/tree-sitter-gnuplot?logo=npm)](https://www.npmjs.com/package/tree-sitter-gnuplot)
5
+ [![crates.io](https://img.shields.io/crates/v/tree-sitter-gnuplot?logo=rust)](https://crates.io/crates/tree-sitter-gnuplot)
6
+ [![PyPI](https://img.shields.io/pypi/v/tree-sitter-gnuplot?logo=pypi)](https://pypi.org/project/tree-sitter-gnuplot/)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
+ [![PRs Welcome][prs-badge]](https://makeapullrequest.com)
9
+
10
+ A tree-sitter grammar for [gnuplot 6.x](http://gnuplot.info).
11
+
12
+ Supports `.gnuplot`, `.gp`, `.plt`, `.plot`, `.gnu` files. Built with an external
13
+ scanner for command disambiguation, comprehensive syntax highlighting queries, and
14
+ 92 corpus tests.
15
+
16
+ This project is the next evolution of [gnuplot.vim](https://github.com/dpezto/gnuplot.vim),
17
+ designed for accuracy to gnuplot 6 syntax and long-term maintainability.
18
+
19
+ [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJzdmcyIiB3aWR0aD0iNjQ1IiBoZWlnaHQ9IjU4NSIgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPiA8ZyBpZD0ibGF5ZXIxIj4gIDxwYXRoIGlkPSJwYXRoMjQxNyIgZD0ibTI5Ny4zIDU1MC44N2MtMTMuNzc1LTE1LjQzNi00OC4xNzEtNDUuNTMtNzYuNDM1LTY2Ljg3NC04My43NDQtNjMuMjQyLTk1LjE0Mi03Mi4zOTQtMTI5LjE0LTEwMy43LTYyLjY4NS01Ny43Mi04OS4zMDYtMTE1LjcxLTg5LjIxNC0xOTQuMzQgMC4wNDQ1MTItMzguMzg0IDIuNjYwOC01My4xNzIgMTMuNDEtNzUuNzk3IDE4LjIzNy0zOC4zODYgNDUuMS02Ni45MDkgNzkuNDQ1LTg0LjM1NSAyNC4zMjUtMTIuMzU2IDM2LjMyMy0xNy44NDUgNzYuOTQ0LTE4LjA3IDQyLjQ5My0wLjIzNDgzIDUxLjQzOSA0LjcxOTcgNzYuNDM1IDE4LjQ1MiAzMC40MjUgMTYuNzE0IDYxLjc0IDUyLjQzNiA2OC4yMTMgNzcuODExbDMuOTk4MSAxNS42NzIgOS44NTk2LTIxLjU4NWM1NS43MTYtMTIxLjk3IDIzMy42LTEyMC4xNSAyOTUuNSAzLjAzMTYgMTkuNjM4IDM5LjA3NiAyMS43OTQgMTIyLjUxIDQuMzgwMSAxNjkuNTEtMjIuNzE1IDYxLjMwOS02NS4zOCAxMDguMDUtMTY0LjAxIDE3OS42OC02NC42ODEgNDYuOTc0LTEzNy44OCAxMTguMDUtMTQyLjk4IDEyOC4wMy01LjkxNTUgMTEuNTg4LTAuMjgyMTYgMS44MTU5LTI2LjQwOC0yNy40NjF6IiBmaWxsPSIjZGQ1MDRmIi8%2BIDwvZz48L3N2Zz4%3D
@@ -0,0 +1,42 @@
1
+ """A tree-sitter grammar for gnuplot"""
2
+
3
+ from importlib.resources import files as _files
4
+
5
+ from ._binding import language
6
+
7
+
8
+ def _get_query(name, file):
9
+ query = _files(f"{__package__}.queries") / file
10
+ globals()[name] = query.read_text()
11
+ return globals()[name]
12
+
13
+
14
+ def __getattr__(name):
15
+ # NOTE: uncomment these to include any queries that this grammar contains:
16
+
17
+ # if name == "HIGHLIGHTS_QUERY":
18
+ # return _get_query("HIGHLIGHTS_QUERY", "highlights.scm")
19
+ # if name == "INJECTIONS_QUERY":
20
+ # return _get_query("INJECTIONS_QUERY", "injections.scm")
21
+ # if name == "LOCALS_QUERY":
22
+ # return _get_query("LOCALS_QUERY", "locals.scm")
23
+ # if name == "TAGS_QUERY":
24
+ # return _get_query("TAGS_QUERY", "tags.scm")
25
+
26
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
27
+
28
+
29
+ __all__ = [
30
+ "language",
31
+ # "HIGHLIGHTS_QUERY",
32
+ # "INJECTIONS_QUERY",
33
+ # "LOCALS_QUERY",
34
+ # "TAGS_QUERY",
35
+ ]
36
+
37
+
38
+ def __dir__():
39
+ return sorted(__all__ + [
40
+ "__all__", "__builtins__", "__cached__", "__doc__", "__file__",
41
+ "__loader__", "__name__", "__package__", "__path__", "__spec__",
42
+ ])
@@ -0,0 +1,10 @@
1
+ from typing import Final
2
+
3
+ # NOTE: uncomment these to include any queries that this grammar contains:
4
+
5
+ # HIGHLIGHTS_QUERY: Final[str]
6
+ # INJECTIONS_QUERY: Final[str]
7
+ # LOCALS_QUERY: Final[str]
8
+ # TAGS_QUERY: Final[str]
9
+
10
+ def language() -> object: ...
@@ -0,0 +1,35 @@
1
+ #include <Python.h>
2
+
3
+ typedef struct TSLanguage TSLanguage;
4
+
5
+ TSLanguage *tree_sitter_gnuplot(void);
6
+
7
+ static PyObject* _binding_language(PyObject *Py_UNUSED(self), PyObject *Py_UNUSED(args)) {
8
+ return PyCapsule_New(tree_sitter_gnuplot(), "tree_sitter.Language", NULL);
9
+ }
10
+
11
+ static struct PyModuleDef_Slot slots[] = {
12
+ #ifdef Py_GIL_DISABLED
13
+ {Py_mod_gil, Py_MOD_GIL_NOT_USED},
14
+ #endif
15
+ {0, NULL}
16
+ };
17
+
18
+ static PyMethodDef methods[] = {
19
+ {"language", _binding_language, METH_NOARGS,
20
+ "Get the tree-sitter language for this grammar."},
21
+ {NULL, NULL, 0, NULL}
22
+ };
23
+
24
+ static struct PyModuleDef module = {
25
+ .m_base = PyModuleDef_HEAD_INIT,
26
+ .m_name = "_binding",
27
+ .m_doc = NULL,
28
+ .m_size = 0,
29
+ .m_methods = methods,
30
+ .m_slots = slots,
31
+ };
32
+
33
+ PyMODINIT_FUNC PyInit__binding(void) {
34
+ return PyModuleDef_Init(&module);
35
+ }
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: tree-sitter-gnuplot
3
+ Version: 2.0.1
4
+ Summary: A tree-sitter grammar for gnuplot
5
+ Author-email: Dai López Jacinto <dpezto@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/dpezto/tree-sitter-gnuplot
8
+ Project-URL: Funding, https://github.com/dpezto/tree-sitter-gnuplot
9
+ Keywords: incremental,parsing,tree-sitter,gnuplot
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Compilers
12
+ Classifier: Topic :: Text Processing :: Linguistic
13
+ Classifier: Typing :: Typed
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Provides-Extra: core
18
+ Requires-Dist: tree-sitter~=0.24; extra == "core"
19
+ Dynamic: license-file
20
+
21
+ # tree-sitter-gnuplot
22
+ [![CI](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml/badge.svg)](https://github.com/dpezto/tree-sitter-gnuplot/actions/workflows/ci.yml)
23
+ [![codecov](https://codecov.io/gh/dpezto/tree-sitter-gnuplot/branch/main/graph/badge.svg)](https://codecov.io/gh/dpezto/tree-sitter-gnuplot)
24
+ [![npm](https://img.shields.io/npm/v/tree-sitter-gnuplot?logo=npm)](https://www.npmjs.com/package/tree-sitter-gnuplot)
25
+ [![crates.io](https://img.shields.io/crates/v/tree-sitter-gnuplot?logo=rust)](https://crates.io/crates/tree-sitter-gnuplot)
26
+ [![PyPI](https://img.shields.io/pypi/v/tree-sitter-gnuplot?logo=pypi)](https://pypi.org/project/tree-sitter-gnuplot/)
27
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
28
+ [![PRs Welcome][prs-badge]](https://makeapullrequest.com)
29
+
30
+ A tree-sitter grammar for [gnuplot 6.x](http://gnuplot.info).
31
+
32
+ Supports `.gnuplot`, `.gp`, `.plt`, `.plot`, `.gnu` files. Built with an external
33
+ scanner for command disambiguation, comprehensive syntax highlighting queries, and
34
+ 92 corpus tests.
35
+
36
+ This project is the next evolution of [gnuplot.vim](https://github.com/dpezto/gnuplot.vim),
37
+ designed for accuracy to gnuplot 6 syntax and long-term maintainability.
38
+
39
+ [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJzdmcyIiB3aWR0aD0iNjQ1IiBoZWlnaHQ9IjU4NSIgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPiA8ZyBpZD0ibGF5ZXIxIj4gIDxwYXRoIGlkPSJwYXRoMjQxNyIgZD0ibTI5Ny4zIDU1MC44N2MtMTMuNzc1LTE1LjQzNi00OC4xNzEtNDUuNTMtNzYuNDM1LTY2Ljg3NC04My43NDQtNjMuMjQyLTk1LjE0Mi03Mi4zOTQtMTI5LjE0LTEwMy43LTYyLjY4NS01Ny43Mi04OS4zMDYtMTE1LjcxLTg5LjIxNC0xOTQuMzQgMC4wNDQ1MTItMzguMzg0IDIuNjYwOC01My4xNzIgMTMuNDEtNzUuNzk3IDE4LjIzNy0zOC4zODYgNDUuMS02Ni45MDkgNzkuNDQ1LTg0LjM1NSAyNC4zMjUtMTIuMzU2IDM2LjMyMy0xNy44NDUgNzYuOTQ0LTE4LjA3IDQyLjQ5My0wLjIzNDgzIDUxLjQzOSA0LjcxOTcgNzYuNDM1IDE4LjQ1MiAzMC40MjUgMTYuNzE0IDYxLjc0IDUyLjQzNiA2OC4yMTMgNzcuODExbDMuOTk4MSAxNS42NzIgOS44NTk2LTIxLjU4NWM1NS43MTYtMTIxLjk3IDIzMy42LTEyMC4xNSAyOTUuNSAzLjAzMTYgMTkuNjM4IDM5LjA3NiAyMS43OTQgMTIyLjUxIDQuMzgwMSAxNjkuNTEtMjIuNzE1IDYxLjMwOS02NS4zOCAxMDguMDUtMTY0LjAxIDE3OS42OC02NC42ODEgNDYuOTc0LTEzNy44OCAxMTguMDUtMTQyLjk4IDEyOC4wMy01LjkxNTUgMTEuNTg4LTAuMjgyMTYgMS44MTU5LTI2LjQwOC0yNy40NjF6IiBmaWxsPSIjZGQ1MDRmIi8%2BIDwvZz48L3N2Zz4%3D
@@ -0,0 +1,16 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ bindings/python/tree_sitter_gnuplot/__init__.py
6
+ bindings/python/tree_sitter_gnuplot/__init__.pyi
7
+ bindings/python/tree_sitter_gnuplot/binding.c
8
+ bindings/python/tree_sitter_gnuplot/py.typed
9
+ bindings/python/tree_sitter_gnuplot.egg-info/PKG-INFO
10
+ bindings/python/tree_sitter_gnuplot.egg-info/SOURCES.txt
11
+ bindings/python/tree_sitter_gnuplot.egg-info/dependency_links.txt
12
+ bindings/python/tree_sitter_gnuplot.egg-info/not-zip-safe
13
+ bindings/python/tree_sitter_gnuplot.egg-info/requires.txt
14
+ bindings/python/tree_sitter_gnuplot.egg-info/top_level.txt
15
+ src/parser.c
16
+ src/scanner.c
@@ -0,0 +1,2 @@
1
+ _binding
2
+ tree_sitter_gnuplot
@@ -0,0 +1,30 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "tree-sitter-gnuplot"
7
+ description = "A tree-sitter grammar for gnuplot"
8
+ version = "2.0.1" # x-release-please-version
9
+ keywords = ["incremental", "parsing", "tree-sitter", "gnuplot"]
10
+ classifiers = [
11
+ "Intended Audience :: Developers",
12
+ "Topic :: Software Development :: Compilers",
13
+ "Topic :: Text Processing :: Linguistic",
14
+ "Typing :: Typed",
15
+ ]
16
+ authors = [{ name = "Dai López Jacinto", email = "dpezto@gmail.com" }]
17
+ requires-python = ">=3.10"
18
+ license.text = "MIT"
19
+ readme = "README.md"
20
+
21
+ [project.urls]
22
+ Homepage = "https://github.com/dpezto/tree-sitter-gnuplot"
23
+ Funding = "https://github.com/dpezto/tree-sitter-gnuplot"
24
+
25
+ [project.optional-dependencies]
26
+ core = ["tree-sitter~=0.24"]
27
+
28
+ [tool.cibuildwheel]
29
+ build = "cp310-*"
30
+ build-frontend = "build"
@@ -0,0 +1,8 @@
1
+ ; Block commands with explicit delimiters
2
+ (cmd_do) @fold
3
+ (cmd_if) @fold
4
+ (cmd_while) @fold
5
+ (def_datablock) @fold
6
+
7
+ ; set multiplot … unset multiplot region (one node in the grammar)
8
+ (multiplot_block) @fold