tree-sitter-matlab 1.2.7__tar.gz → 1.2.8__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.7 → tree_sitter_matlab-1.2.8}/PKG-INFO +2 -24
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/README.md +1 -23
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/PKG-INFO +2 -24
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/pyproject.toml +1 -1
- tree_sitter_matlab-1.2.8/src/parser.c +100599 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/src/scanner.c +13 -3
- tree_sitter_matlab-1.2.7/src/parser.c +0 -119258
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/LICENSE +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab/__init__.py +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab/__init__.pyi +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab/binding.c +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab/py.typed +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/SOURCES.txt +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/dependency_links.txt +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/not-zip-safe +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/requires.txt +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/bindings/python/tree_sitter_matlab.egg-info/top_level.txt +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/emacs/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/emacs/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/context.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/folds.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/indents.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/injections.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/locals.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/helix/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/context.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/folds.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/highlights.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/indents.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/injections.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/locals.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/tags.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/queries/neovim/textobjects.scm +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/setup.cfg +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/setup.py +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/src/tree_sitter/alloc.h +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/src/tree_sitter/array.h +0 -0
- {tree_sitter_matlab-1.2.7 → tree_sitter_matlab-1.2.8}/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.8
|
|
4
4
|
Summary: MATLAB tree-sitter parser
|
|
5
5
|
Author: Álan Crístoffer e Sousa
|
|
6
6
|
License: MIT
|
|
@@ -79,34 +79,12 @@ Given the existence of external method definition, maybe that is even the
|
|
|
79
79
|
correct thing to do, since we don't know if the current file is inside a
|
|
80
80
|
special class folder.
|
|
81
81
|
|
|
82
|
-
# Known problems
|
|
83
|
-
|
|
84
|
-
Newlines, just like whitespaces, are mostly ignored. In the case of spaces, it
|
|
85
|
-
allows `abs( a )` and `abs(a)` to be described by the same, simple rule. In the
|
|
86
|
-
case of newlines, it allows many multiline constructs (like, `if`, `while`,
|
|
87
|
-
`function`) to be expressed the same way.
|
|
88
|
-
|
|
89
|
-
This creates the undesired side-effect that some constructs, which are not
|
|
90
|
-
accepted by MATLAB, are correctly parsed, like:
|
|
91
|
-
|
|
92
|
-
```matlab
|
|
93
|
-
function (
|
|
94
|
-
a
|
|
95
|
-
)
|
|
96
|
-
end
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
This, however, is hard to fix. The assumption that newlines are ignored by
|
|
100
|
-
default is all over the grammar and changing it requires making changes to too
|
|
101
|
-
many rules, which also make them all more complex and fragile. Therefore, this
|
|
102
|
-
change won't be made.
|
|
103
|
-
|
|
104
82
|
# Installation
|
|
105
83
|
|
|
106
84
|
This parser is now the default for the following editors:
|
|
107
85
|
|
|
108
86
|
- Emacs: Through the `tree-sitter-langs` package.
|
|
109
|
-
- Helix: Builtin
|
|
87
|
+
- Helix: Builtin.
|
|
110
88
|
- Neovim: Through the `nvim-treesitter` plugin.
|
|
111
89
|
|
|
112
90
|
# Screenshots
|
|
@@ -60,34 +60,12 @@ Given the existence of external method definition, maybe that is even the
|
|
|
60
60
|
correct thing to do, since we don't know if the current file is inside a
|
|
61
61
|
special class folder.
|
|
62
62
|
|
|
63
|
-
# Known problems
|
|
64
|
-
|
|
65
|
-
Newlines, just like whitespaces, are mostly ignored. In the case of spaces, it
|
|
66
|
-
allows `abs( a )` and `abs(a)` to be described by the same, simple rule. In the
|
|
67
|
-
case of newlines, it allows many multiline constructs (like, `if`, `while`,
|
|
68
|
-
`function`) to be expressed the same way.
|
|
69
|
-
|
|
70
|
-
This creates the undesired side-effect that some constructs, which are not
|
|
71
|
-
accepted by MATLAB, are correctly parsed, like:
|
|
72
|
-
|
|
73
|
-
```matlab
|
|
74
|
-
function (
|
|
75
|
-
a
|
|
76
|
-
)
|
|
77
|
-
end
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
This, however, is hard to fix. The assumption that newlines are ignored by
|
|
81
|
-
default is all over the grammar and changing it requires making changes to too
|
|
82
|
-
many rules, which also make them all more complex and fragile. Therefore, this
|
|
83
|
-
change won't be made.
|
|
84
|
-
|
|
85
63
|
# Installation
|
|
86
64
|
|
|
87
65
|
This parser is now the default for the following editors:
|
|
88
66
|
|
|
89
67
|
- Emacs: Through the `tree-sitter-langs` package.
|
|
90
|
-
- Helix: Builtin
|
|
68
|
+
- Helix: Builtin.
|
|
91
69
|
- Neovim: Through the `nvim-treesitter` plugin.
|
|
92
70
|
|
|
93
71
|
# Screenshots
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-matlab
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.8
|
|
4
4
|
Summary: MATLAB tree-sitter parser
|
|
5
5
|
Author: Álan Crístoffer e Sousa
|
|
6
6
|
License: MIT
|
|
@@ -79,34 +79,12 @@ Given the existence of external method definition, maybe that is even the
|
|
|
79
79
|
correct thing to do, since we don't know if the current file is inside a
|
|
80
80
|
special class folder.
|
|
81
81
|
|
|
82
|
-
# Known problems
|
|
83
|
-
|
|
84
|
-
Newlines, just like whitespaces, are mostly ignored. In the case of spaces, it
|
|
85
|
-
allows `abs( a )` and `abs(a)` to be described by the same, simple rule. In the
|
|
86
|
-
case of newlines, it allows many multiline constructs (like, `if`, `while`,
|
|
87
|
-
`function`) to be expressed the same way.
|
|
88
|
-
|
|
89
|
-
This creates the undesired side-effect that some constructs, which are not
|
|
90
|
-
accepted by MATLAB, are correctly parsed, like:
|
|
91
|
-
|
|
92
|
-
```matlab
|
|
93
|
-
function (
|
|
94
|
-
a
|
|
95
|
-
)
|
|
96
|
-
end
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
This, however, is hard to fix. The assumption that newlines are ignored by
|
|
100
|
-
default is all over the grammar and changing it requires making changes to too
|
|
101
|
-
many rules, which also make them all more complex and fragile. Therefore, this
|
|
102
|
-
change won't be made.
|
|
103
|
-
|
|
104
82
|
# Installation
|
|
105
83
|
|
|
106
84
|
This parser is now the default for the following editors:
|
|
107
85
|
|
|
108
86
|
- Emacs: Through the `tree-sitter-langs` package.
|
|
109
|
-
- Helix: Builtin
|
|
87
|
+
- Helix: Builtin.
|
|
110
88
|
- Neovim: Through the `nvim-treesitter` plugin.
|
|
111
89
|
|
|
112
90
|
# Screenshots
|
|
@@ -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.8"
|
|
9
9
|
keywords = ["incremental", "parsing", "tree-sitter", "matlab"]
|
|
10
10
|
classifiers = [
|
|
11
11
|
"Intended Audience :: Developers",
|