Fix some documentation typos/grammar mistakes (#4032)

* typos

* Update examples/parallel/README.md

Co-authored-by: Kerfuffle <44031344+KerfuffleV2@users.noreply.github.com>

---------

Co-authored-by: Kerfuffle <44031344+KerfuffleV2@users.noreply.github.com>
This commit is contained in:
Richard Kiss
2023-11-11 22:04:58 -08:00
committed by GitHub
parent e86fc56f75
commit 532dd74e38
5 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@ The order of symbols in a sequence matter. For example, in `"1. " move " " move
Alternatives, denoted by `|`, give different sequences that are acceptable. For example, in `move ::= pawn | nonpawn | castle`, `move` can be a `pawn` move, a `nonpawn` move, or a `castle`.
Parentheses `()` can be used to group sequences, which allows for embedding alternatives in a larger rule or applying repetition and optptional symbols (below) to a sequence.
Parentheses `()` can be used to group sequences, which allows for embedding alternatives in a larger rule or applying repetition and optional symbols (below) to a sequence.
## Repetition and Optional Symbols
@ -67,7 +67,7 @@ Parentheses `()` can be used to group sequences, which allows for embedding alte
Comments can be specified with `#`:
```
# defines optional whitspace
# defines optional whitespace
ws ::= [ \t\n]+
```