From ee7a205bd8235255b652038bfef779744f3d93f5 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Sat, 14 Nov 2026 16:16:17 +0100 Subject: Rename to Xisp. --- doc/0/grammar/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/0/grammar/index.md') 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, -- cgit v1.2.3