summaryrefslogtreecommitdiff
path: root/grammars
diff options
context:
space:
mode:
authorRichard Kiss <him@richardkiss.com>2023-11-11 22:04:58 -0800
committerGitHub <noreply@github.com>2023-11-11 23:04:58 -0700
commit532dd74e38c29e16ea1cfc4e7eedb4f2fab3f3cd (patch)
tree649147d4e7ac415c2ba030d7eb5df33ae1b60067 /grammars
parente86fc56f7521ca4b18d1d9939e82abd40c2f1c01 (diff)
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>
Diffstat (limited to 'grammars')
-rw-r--r--grammars/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/README.md b/grammars/README.md
index 7f3b11ca..e1383fa5 100644
--- a/grammars/README.md
+++ b/grammars/README.md
@@ -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]+
```