tree-sitter-matlab 1.2.11__tar.gz → 1.2.13__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.
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/PKG-INFO +29 -5
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/README.md +28 -4
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/PKG-INFO +29 -5
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/pyproject.toml +1 -1
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/parser.c +70583 -55905
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/LICENSE +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/__init__.py +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/__init__.pyi +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/binding.c +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/py.typed +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/SOURCES.txt +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/dependency_links.txt +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/not-zip-safe +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/requires.txt +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/top_level.txt +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/emacs/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/emacs/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/context.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/folds.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/indents.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/injections.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/locals.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/context.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/folds.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/indents.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/injections.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/locals.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/tags.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/setup.cfg +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/setup.py +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/scanner.c +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/tree_sitter/alloc.h +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/tree_sitter/array.h +0 -0
- {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/tree_sitter/parser.h +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-matlab
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.13
|
|
4
4
|
Summary: MATLAB tree-sitter parser
|
|
5
5
|
Author: Álan Crístoffer e Sousa
|
|
6
6
|
License: MIT
|
|
@@ -81,14 +81,38 @@ special class folder.
|
|
|
81
81
|
|
|
82
82
|
# Installation
|
|
83
83
|
|
|
84
|
-
This parser is
|
|
84
|
+
This parser is available in the following editors:
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
86
|
+
| Editor | Plugin | Highlights | Folds | Indents | Code Format | Injections | Locals |
|
|
87
|
+
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
|
88
|
+
| Emacs | [Emacs-MATLAB-Mode] | ✔ | ✘ | ✔ | ✔ | ✔ | ✘ |
|
|
89
|
+
| Helix | Builtin | ✔ | ✘ | ✔ | ✘ | ✘ | ✘ |
|
|
90
|
+
| NeoVim | [nvim-treesitter] | ✔ | ✔ | ✔ | ✘ | ✔ | ✔ |
|
|
91
|
+
|
|
92
|
+
The columns have the following meaning:
|
|
93
|
+
|
|
94
|
+
- *Highlights*: supports syntax highlight
|
|
95
|
+
- *Folds*: supports code folding
|
|
96
|
+
- *Indents*: supports code indenting, which adjusts the leftmost whitespace on each line.
|
|
97
|
+
- *Code Format*: indent includes code formatting that standardizes the spacing of language elements
|
|
98
|
+
within code lines, aligns matrix columns, adds missing commas within cells and matrices, etc.
|
|
99
|
+
- *Injections*: supports embedding the language into another language (i.e.: MATLAB code blocks inside
|
|
100
|
+
Markdown or [org-mode](https://orgmode.org/))
|
|
101
|
+
- *Locals*: supports identifying variables/functions/etc scope
|
|
102
|
+
|
|
103
|
+
# Known issues
|
|
104
|
+
|
|
105
|
+
- There is a conflict between numbers and element-wise operators that will
|
|
106
|
+
cause a wrong parse if there is no space between the number and the operator.
|
|
107
|
+
For example, `1./a` will be interpreted as `1. / a` instead of the correct
|
|
108
|
+
`1 ./ a`. This problem does not happen if there is a space between the number
|
|
109
|
+
and the operator.
|
|
89
110
|
|
|
90
111
|
# Screenshots
|
|
91
112
|
|
|
92
113
|

|
|
93
114
|

|
|
94
115
|

|
|
116
|
+
|
|
117
|
+
[Emacs-MATLAB-Mode]: https://github.com/mathworks/Emacs-MATLAB-Mode
|
|
118
|
+
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter
|
|
@@ -62,14 +62,38 @@ special class folder.
|
|
|
62
62
|
|
|
63
63
|
# Installation
|
|
64
64
|
|
|
65
|
-
This parser is
|
|
65
|
+
This parser is available in the following editors:
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
67
|
+
| Editor | Plugin | Highlights | Folds | Indents | Code Format | Injections | Locals |
|
|
68
|
+
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
|
69
|
+
| Emacs | [Emacs-MATLAB-Mode] | ✔ | ✘ | ✔ | ✔ | ✔ | ✘ |
|
|
70
|
+
| Helix | Builtin | ✔ | ✘ | ✔ | ✘ | ✘ | ✘ |
|
|
71
|
+
| NeoVim | [nvim-treesitter] | ✔ | ✔ | ✔ | ✘ | ✔ | ✔ |
|
|
72
|
+
|
|
73
|
+
The columns have the following meaning:
|
|
74
|
+
|
|
75
|
+
- *Highlights*: supports syntax highlight
|
|
76
|
+
- *Folds*: supports code folding
|
|
77
|
+
- *Indents*: supports code indenting, which adjusts the leftmost whitespace on each line.
|
|
78
|
+
- *Code Format*: indent includes code formatting that standardizes the spacing of language elements
|
|
79
|
+
within code lines, aligns matrix columns, adds missing commas within cells and matrices, etc.
|
|
80
|
+
- *Injections*: supports embedding the language into another language (i.e.: MATLAB code blocks inside
|
|
81
|
+
Markdown or [org-mode](https://orgmode.org/))
|
|
82
|
+
- *Locals*: supports identifying variables/functions/etc scope
|
|
83
|
+
|
|
84
|
+
# Known issues
|
|
85
|
+
|
|
86
|
+
- There is a conflict between numbers and element-wise operators that will
|
|
87
|
+
cause a wrong parse if there is no space between the number and the operator.
|
|
88
|
+
For example, `1./a` will be interpreted as `1. / a` instead of the correct
|
|
89
|
+
`1 ./ a`. This problem does not happen if there is a space between the number
|
|
90
|
+
and the operator.
|
|
70
91
|
|
|
71
92
|
# Screenshots
|
|
72
93
|
|
|
73
94
|

|
|
74
95
|

|
|
75
96
|

|
|
97
|
+
|
|
98
|
+
[Emacs-MATLAB-Mode]: https://github.com/mathworks/Emacs-MATLAB-Mode
|
|
99
|
+
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-matlab
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.13
|
|
4
4
|
Summary: MATLAB tree-sitter parser
|
|
5
5
|
Author: Álan Crístoffer e Sousa
|
|
6
6
|
License: MIT
|
|
@@ -81,14 +81,38 @@ special class folder.
|
|
|
81
81
|
|
|
82
82
|
# Installation
|
|
83
83
|
|
|
84
|
-
This parser is
|
|
84
|
+
This parser is available in the following editors:
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
86
|
+
| Editor | Plugin | Highlights | Folds | Indents | Code Format | Injections | Locals |
|
|
87
|
+
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
|
88
|
+
| Emacs | [Emacs-MATLAB-Mode] | ✔ | ✘ | ✔ | ✔ | ✔ | ✘ |
|
|
89
|
+
| Helix | Builtin | ✔ | ✘ | ✔ | ✘ | ✘ | ✘ |
|
|
90
|
+
| NeoVim | [nvim-treesitter] | ✔ | ✔ | ✔ | ✘ | ✔ | ✔ |
|
|
91
|
+
|
|
92
|
+
The columns have the following meaning:
|
|
93
|
+
|
|
94
|
+
- *Highlights*: supports syntax highlight
|
|
95
|
+
- *Folds*: supports code folding
|
|
96
|
+
- *Indents*: supports code indenting, which adjusts the leftmost whitespace on each line.
|
|
97
|
+
- *Code Format*: indent includes code formatting that standardizes the spacing of language elements
|
|
98
|
+
within code lines, aligns matrix columns, adds missing commas within cells and matrices, etc.
|
|
99
|
+
- *Injections*: supports embedding the language into another language (i.e.: MATLAB code blocks inside
|
|
100
|
+
Markdown or [org-mode](https://orgmode.org/))
|
|
101
|
+
- *Locals*: supports identifying variables/functions/etc scope
|
|
102
|
+
|
|
103
|
+
# Known issues
|
|
104
|
+
|
|
105
|
+
- There is a conflict between numbers and element-wise operators that will
|
|
106
|
+
cause a wrong parse if there is no space between the number and the operator.
|
|
107
|
+
For example, `1./a` will be interpreted as `1. / a` instead of the correct
|
|
108
|
+
`1 ./ a`. This problem does not happen if there is a space between the number
|
|
109
|
+
and the operator.
|
|
89
110
|
|
|
90
111
|
# Screenshots
|
|
91
112
|
|
|
92
113
|

|
|
93
114
|

|
|
94
115
|

|
|
116
|
+
|
|
117
|
+
[Emacs-MATLAB-Mode]: https://github.com/mathworks/Emacs-MATLAB-Mode
|
|
118
|
+
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tree-sitter-matlab"
|
|
7
7
|
description = "MATLAB tree-sitter parser"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.13"
|
|
9
9
|
keywords = ["incremental", "parsing", "tree-sitter", "matlab"]
|
|
10
10
|
classifiers = [
|
|
11
11
|
"Intended Audience :: Developers",
|