@hew-lang/tree-sitter-hew 1.0.1 → 1.1.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/README.md +7 -0
- package/grammar.js +880 -251
- package/package.json +2 -2
- package/queries/folds.scm +2 -4
- package/queries/highlights.scm +86 -21
- package/queries/indents.scm +2 -2
- package/queries/locals.scm +8 -13
- package/src/grammar.json +6088 -2841
- package/src/node-types.json +3530 -971
- package/src/parser.c +104171 -52471
- package/src/tree_sitter/array.h +68 -124
- package/tree-sitter.json +2 -3
package/README.md
CHANGED
|
@@ -49,8 +49,15 @@ npx tree-sitter test
|
|
|
49
49
|
|
|
50
50
|
# Parse a file
|
|
51
51
|
npx tree-sitter parse example.hew
|
|
52
|
+
|
|
53
|
+
# Check the non-shrinking active Hew corpus in a sibling checkout
|
|
54
|
+
make test-active-corpus
|
|
52
55
|
```
|
|
53
56
|
|
|
57
|
+
`test/active-corpus.tsv` records the accepted source roots, per-root floors,
|
|
58
|
+
and exclusion provenance. Set `HEW_REPO` when the Hew checkout is not the
|
|
59
|
+
default sibling directory.
|
|
60
|
+
|
|
54
61
|
## Highlight Queries
|
|
55
62
|
|
|
56
63
|
Syntax highlighting queries are in `queries/highlights.scm`.
|