@willbooster/tree-sitter-c-sharp 1.0.1 → 1.0.2
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 -2
- package/package.json +1 -1
- package/tree-sitter-c_sharp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -76,11 +76,13 @@ parser.setLanguage(await Language.load(cSharp));
|
|
|
76
76
|
|
|
77
77
|
The package also ships the node types in `src/node-types.json`.
|
|
78
78
|
|
|
79
|
-
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp)
|
|
79
|
+
In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp) and the
|
|
80
|
+
[runtime](https://crates.io/crates/willbooster-tree-sitter), whose fixes keep incremental reparses consistent with
|
|
81
|
+
fresh parses:
|
|
80
82
|
|
|
81
83
|
```toml
|
|
82
84
|
[dependencies]
|
|
83
|
-
tree-sitter = "0.
|
|
85
|
+
tree-sitter = { package = "willbooster-tree-sitter", version = "1.0.3" }
|
|
84
86
|
tree-sitter-c-sharp = { package = "willbooster-tree-sitter-c-sharp", version = "1" }
|
|
85
87
|
```
|
|
86
88
|
|
|
@@ -117,6 +119,9 @@ cargo test
|
|
|
117
119
|
which needs Chromium installed once by `bunx playwright install chromium`) and in Cloudflare Workers with and without
|
|
118
120
|
`nodejs_compat` (`test/unit/workers.test.ts`).
|
|
119
121
|
|
|
122
|
+
`cargo test` also replays edits that `tree-sitter fuzz` found to break incremental parsing, with the
|
|
123
|
+
willbooster-tree-sitter runtime that fixes them; `tree-sitter fuzz` itself runs the runtime built into tree-sitter-cli.
|
|
124
|
+
|
|
120
125
|
CI also runs these tests on Linux arm64 and macOS, where the Rust binding compiles the parser natively, and fuzzes the parser with libFuzzer and sanitizers
|
|
121
126
|
(`.github/workflows/robustness.yml`).
|
|
122
127
|
|
package/package.json
CHANGED
package/tree-sitter-c_sharp.wasm
CHANGED
|
Binary file
|