@konomanoasa/tree-sitter-yaml 0.3.0 → 0.5.0
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.
- package/Cargo.toml +2 -2
- package/README.md +4 -5
- package/grammar.js +478 -267
- package/package.json +5 -5
- package/src/grammar.json +3230 -1995
- package/src/node-types.json +96 -2
- package/src/parser.c +62335 -164747
- package/src/scanner.c +1230 -1202
- package/test/bindings.test.rs +376 -13
- package/tree-sitter.json +1 -1
package/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "konomanoasa-tree-sitter-yaml"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.5.0"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
description = "Tree-sitter grammar for YAML."
|
|
6
6
|
readme = "README.md"
|
|
@@ -30,7 +30,7 @@ path = "test/bindings.test.rs"
|
|
|
30
30
|
tree-sitter-language = "0.1.8"
|
|
31
31
|
|
|
32
32
|
[dev-dependencies]
|
|
33
|
-
tree-sitter = "0.27.
|
|
33
|
+
tree-sitter = "0.27.1"
|
|
34
34
|
|
|
35
35
|
[build-dependencies]
|
|
36
36
|
cc = "1.4"
|
package/README.md
CHANGED
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
[Tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammar for
|
|
8
8
|
YAML Ain't Markup Language 1.2.2.
|
|
9
9
|
|
|
10
|
-
## Syntax Issues
|
|
11
|
-
|
|
12
|
-
The parser detects syntax issues, including missing syntax, while preserving the surrounding structure.
|
|
13
|
-
These issues are represented as `syntax_issue` nodes.
|
|
14
|
-
|
|
15
10
|
## Installation
|
|
16
11
|
|
|
17
12
|
```sh
|
|
@@ -32,6 +27,10 @@ npm test
|
|
|
32
27
|
|
|
33
28
|
[YAML 1.2.2 Specification](https://yaml.org/spec/1.2.2/)
|
|
34
29
|
|
|
30
|
+
## Used By
|
|
31
|
+
|
|
32
|
+
[yaml-ts-mode](https://github.com/konomanoasa/yaml-ts-mode): Emacs major mode.
|
|
33
|
+
|
|
35
34
|
## License
|
|
36
35
|
|
|
37
36
|
[MIT](LICENSE)
|