aboutsummaryrefslogtreecommitdiff
path: root/_markdown.qmd
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-24 13:43:16 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-24 13:43:16 +0200
commitfe907be6d31ae21a3da722edddf49aeedd02d71a (patch)
tree564a9362e023e2f70722dd8ff663c25a01ffaf17 /_markdown.qmd
parent642c7c79b20028631cda30ef7562b22455a21231 (diff)
misc grammar and avoidance of abbreviations
Diffstat (limited to '_markdown.qmd')
-rw-r--r--_markdown.qmd10
1 files changed, 5 insertions, 5 deletions
diff --git a/_markdown.qmd b/_markdown.qmd
index 928adac..c2cfa9f 100644
--- a/_markdown.qmd
+++ b/_markdown.qmd
@@ -79,16 +79,16 @@ Syntax of `Block`, `Header` and `Paragraph`.
:::
Reading order matters:
-The syntax diagrams should be read left-to-right and top-to-bottom,
-also at places with choice --
-e.g. the block type `Header` should be tried before `Paragraph`.
+The syntax diagrams should be read from left to right and top to bottom,
+including at points with choices --
+for example, the block type `Header` should be tried before `Paragraph`.
Otherwise if `Paragraph` syntax was parsed first,
then it would match both blocks
because that block type begins with any words,
-including the characters defitive for the `Header` block type.
+including the characters definitive for the `Header` block type.
In other words,
these syntax diagrams do *not* represent the more common EBNF grammars
-but instead a parsing expression grammar [@Ford2004],
+but instead, a parsing expression grammar [@Ford2004],
chosen because context-free grammars are unlikely
to be able to cover Markdown
[@MacFarlane2014].