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.
Files changed (38) hide show
  1. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/PKG-INFO +29 -5
  2. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/README.md +28 -4
  3. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/PKG-INFO +29 -5
  4. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/pyproject.toml +1 -1
  5. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/parser.c +70583 -55905
  6. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/LICENSE +0 -0
  7. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/__init__.py +0 -0
  8. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/__init__.pyi +0 -0
  9. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/binding.c +0 -0
  10. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab/py.typed +0 -0
  11. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/SOURCES.txt +0 -0
  12. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/dependency_links.txt +0 -0
  13. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/not-zip-safe +0 -0
  14. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/requires.txt +0 -0
  15. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/bindings/python/tree_sitter_matlab.egg-info/top_level.txt +0 -0
  16. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/emacs/highlights.scm +0 -0
  17. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/emacs/textobjects.scm +0 -0
  18. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/context.scm +0 -0
  19. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/folds.scm +0 -0
  20. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/highlights.scm +0 -0
  21. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/indents.scm +0 -0
  22. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/injections.scm +0 -0
  23. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/locals.scm +0 -0
  24. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/helix/textobjects.scm +0 -0
  25. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/context.scm +0 -0
  26. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/folds.scm +0 -0
  27. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/highlights.scm +0 -0
  28. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/indents.scm +0 -0
  29. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/injections.scm +0 -0
  30. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/locals.scm +0 -0
  31. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/tags.scm +0 -0
  32. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/queries/neovim/textobjects.scm +0 -0
  33. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/setup.cfg +0 -0
  34. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/setup.py +0 -0
  35. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/scanner.c +0 -0
  36. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/tree_sitter/alloc.h +0 -0
  37. {tree_sitter_matlab-1.2.11 → tree_sitter_matlab-1.2.13}/src/tree_sitter/array.h +0 -0
  38. {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.11
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 now the default for the following editors:
84
+ This parser is available in the following editors:
85
85
 
86
- - Emacs: Through the `tree-sitter-langs` package.
87
- - Helix: Builtin.
88
- - Neovim: Through the `nvim-treesitter` plugin.
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
  ![First Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s1.png)
93
114
  ![Second Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s2.png)
94
115
  ![Third Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s3.png)
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 now the default for the following editors:
65
+ This parser is available in the following editors:
66
66
 
67
- - Emacs: Through the `tree-sitter-langs` package.
68
- - Helix: Builtin.
69
- - Neovim: Through the `nvim-treesitter` plugin.
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
  ![First Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s1.png)
74
95
  ![Second Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s2.png)
75
96
  ![Third Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s3.png)
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.11
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 now the default for the following editors:
84
+ This parser is available in the following editors:
85
85
 
86
- - Emacs: Through the `tree-sitter-langs` package.
87
- - Helix: Builtin.
88
- - Neovim: Through the `nvim-treesitter` plugin.
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
  ![First Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s1.png)
93
114
  ![Second Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s2.png)
94
115
  ![Third Screenshot](https://raw.githubusercontent.com/acristoffers/tree-sitter-matlab/screenshots/s3.png)
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.11"
8
+ version = "1.2.13"
9
9
  keywords = ["incremental", "parsing", "tree-sitter", "matlab"]
10
10
  classifiers = [
11
11
  "Intended Audience :: Developers",