Skip to content

Commit

Permalink
docs: small fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Wang <bonede@qq.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
  • Loading branch information
3 people committed Feb 15, 2024
1 parent 6895b7a commit 75e02c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/section-2-using-parsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/section-7-playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ <h4>Tree</h4>
<h4 id="about">About </h4>
<p>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
<a href="/creating-parsers">CLI</a>'s <code>tree-sitter playground</code> subcommand.</p>
<a href="/tree-sitter/creating-parsers">CLI</a>'s <code>tree-sitter playground</code> subcommand.</p>
<p>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.</p>
<p>Logging (if enabled) can be viewed in the browser's console.</p>
<p>You can enter one or more <a href="/using-parsers#pattern-matching-with-queries">patterns</a>
<p>You can enter one or more <a href="/tree-sitter/using-parsers#pattern-matching-with-queries">patterns</a>
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
Expand Down
2 changes: 1 addition & 1 deletion test/fuzz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<grammar-name>`. The most important extra `libFuzzer` options are `-jobs` and `-workers` which allow parallel fuzzing. This is can done with, e.g.:
```
./script/run-fuzzer <grammer-name> halt -jobs=32 -workers=32
./script/run-fuzzer <grammar-name> halt -jobs=32 -workers=32
```

The testcase can be used to reproduce the crash by running:
Expand Down

0 comments on commit 75e02c0

Please sign in to comment.