tree-sitter-bynk 0.290.0 → 0.303.4
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 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
[](#license)
|
|
4
4
|
|
|
5
5
|
The [tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammar for the
|
|
6
|
-
[Bynk](https://github.com/accuser/bynk)
|
|
7
|
-
syntax highlighting (`queries/highlights.scm
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
[Bynk](https://github.com/accuser/bynk) language — the source of truth for
|
|
7
|
+
tree-sitter syntax highlighting (`queries/highlights.scm`), the playground's
|
|
8
|
+
editor, and the Book's grammar reference (rendered from `src/grammar.json` by
|
|
9
|
+
[`bynk-grammar`](https://crates.io/crates/bynk-grammar)).
|
|
10
10
|
|
|
11
11
|
This directory is **two things**:
|
|
12
12
|
|
|
13
13
|
- **The grammar** (`grammar.js`), published to npm as
|
|
14
14
|
[`tree-sitter-bynk`](https://www.npmjs.com/package/tree-sitter-bynk), with
|
|
15
|
-
generated Node
|
|
16
|
-
`vscode-bynk`
|
|
15
|
+
its generated Node binding (`bindings/node/`). This is what tree-sitter
|
|
16
|
+
editors consume. (`vscode-bynk` ships its own TextMate grammar and does not
|
|
17
|
+
use this one.)
|
|
17
18
|
- **A Rust crate** (this `Cargo.toml`, wrapping `bindings/rust/`) that exists
|
|
18
19
|
for exactly one purpose: the cross-parser conformance test
|
|
19
20
|
(`tests/conformance.rs`), which parses Bynk source with this grammar and
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-sitter-bynk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Tree-sitter grammar for the Bynk
|
|
3
|
+
"version": "0.303.4",
|
|
4
|
+
"description": "Tree-sitter grammar for the Bynk language.",
|
|
5
5
|
"main": "bindings/node",
|
|
6
6
|
"types": "bindings/node",
|
|
7
7
|
"keywords": [
|