summaryrefslogtreecommitdiff
path: root/doc/0/grammar/index.md
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2026-11-14 16:16:17 +0100
committerTaylan Kammer <taylan.kammer@gmail.com>2026-11-14 16:44:26 +0100
commitee7a205bd8235255b652038bfef779744f3d93f5 (patch)
tree3736b2687102515d775d256e0262f3de9701d65b /doc/0/grammar/index.md
parent462f605234909ece37c9279fac3097a6727afb37 (diff)
Rename to Xisp.
Diffstat (limited to 'doc/0/grammar/index.md')
-rw-r--r--doc/0/grammar/index.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/0/grammar/index.md b/doc/0/grammar/index.md
index e3716ea..1899b16 100644
--- a/doc/0/grammar/index.md
+++ b/doc/0/grammar/index.md
@@ -1,15 +1,15 @@
-# Zisp S-Expression Grammar
+# Xisp S-Expression Grammar
The grammar is available in several different formats:
-* [ZBNF](zbnf.txt): See below for the rules of this notation
+* [XBNF](xbnf.txt): See below for the rules of this notation
* [ABNF](abnf.txt): Compatible with the `abnfgen` tool
* [PEG](peg.txt): Compatible with `peg/leg` tool
-## ZBNF notation
+## XBNF notation
-The ZBNF grammar specification uses a BNF-like notation with PEG-like
+The XBNF grammar specification uses a BNF-like notation with PEG-like
semantics:
* Concatenation of expressions is implicit: `foo bar` means `foo`
@@ -86,7 +86,7 @@ variables.
The parser consumes one `Unit` from the input stream every time it's
called; it returns the `Datum` therein if found, or else it returns
-the Zisp EOF token.
+the Xisp EOF token.
Since a `Datum` is not self-terminating, the parser must read beyond
it to realize that it has ended (if not followed by the EOF). Thus,