diff --git a/docs/index.md b/docs/index.md index 71052654..28c03546 100644 --- a/docs/index.md +++ b/docs/index.md @@ -20,6 +20,7 @@ There are currently bindings that allow Tree-sitter to be used from the followin * [Guile](https://github.com/Z572/guile-ts) * [Haskell](https://github.com/tree-sitter/haskell-tree-sitter) * [Java](https://github.com/serenadeai/java-tree-sitter) +* [Java](https://github.com/bonede/tree-sitter-ng) * [Java (Android)](https://github.com/AndroidIDEOfficial/android-tree-sitter) * [JavaScript (Node.js)](https://github.com/tree-sitter/node-tree-sitter) * [JavaScript (Wasm)](https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web) diff --git a/docs/section-2-using-parsers.md b/docs/section-2-using-parsers.md index 7929b8f3..893b7143 100644 --- a/docs/section-2-using-parsers.md +++ b/docs/section-2-using-parsers.md @@ -661,7 +661,7 @@ Consider the following example targeting C: (#eq? @variable.builtin "self")) ``` -This pattern would match any identifier that is `self` or `this`. +This pattern would match any identifier that is `self`. And this pattern would match key-value pairs where the `value` is an identifier with the same name as the key: diff --git a/docs/section-7-playground.html b/docs/section-7-playground.html index 03cb0541..72b6c385 100644 --- a/docs/section-7-playground.html +++ b/docs/section-7-playground.html @@ -54,12 +54,12 @@ permalink: playground
You can try out tree-sitter with a few pre-selected grammars on this page.
You can also run playground locally (with your own grammar) using the
- CLI's tree-sitter playground subcommand.
tree-sitter playground subcommand.
The syntax tree should update as you type in the code. As you move around the code, the current node should be highlighted in the tree; you can also click any node in the tree to select the corresponding part of the code.
Logging (if enabled) can be viewed in the browser's console.
-You can enter one or more patterns +
You can enter one or more patterns
into the Query panel. If the query is valid, its captures will be
highlighted both in the Code and in the Query panels. Otherwise
the problematic parts of the query will be underlined, and detailed
diff --git a/test/fuzz/README.md b/test/fuzz/README.md
index a02d2689..5adc1b04 100644
--- a/test/fuzz/README.md
+++ b/test/fuzz/README.md
@@ -34,7 +34,7 @@ The `run-fuzzer` script handles running an individual fuzzer with a sensible def
which will log information to stdout. Failing testcases and a fuzz corpus will be saved to `fuzz-results/