From 2f77b3ceaa2989d944296c572a07b2caee39d9d4 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Mon, 12 Jan 2026 08:03:38 +0100 Subject: Update HTML stuff. --- docs/c1/grammar.peg.txt | 75 ------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 docs/c1/grammar.peg.txt (limited to 'docs/c1/grammar.peg.txt') diff --git a/docs/c1/grammar.peg.txt b/docs/c1/grammar.peg.txt deleted file mode 100644 index d194652..0000000 --- a/docs/c1/grammar.peg.txt +++ /dev/null @@ -1,75 +0,0 @@ -# Compatible with https://piumarta.com/software/peg - -Stream <- Unit ( Blank Unit )* !. - -Unit <- Blank* Datum - - -Blank <- [\t-\r ] / Comment - -Datum <- OneDatum ( JoinChar? OneDatum )* - -JoinChar <- '.' / ':' - - -Comment <- ';' ( SkipUnit / SkipLine ) - -SkipUnit <- '~' Unit - -SkipLine <- (!'\n' .)* '\n'? - - -OneDatum <- BareString / CladDatum - - -BareString <- ( '.' / '+' / '-' / DIGIT ) ( BareChar / '.' )* - / BareChar+ - -CladDatum <- PipeStr / QuoteStr / HashExpr / QuoteExpr / List - -PipeStr <- '|' ( PipeStrChar / '\' StringEsc )* '|' -QuoteStr <- '"' ( QuotStrChar / '\' StringEsc )* '"' -HashExpr <- '#' ( RuneExpr / LabelExpr / HashDatum ) -QuoteExpr <- "'" Datum / '`' Datum / ',' Datum -List <- ParenList / SquareList / BraceList - -BareChar <- ALPHA / DIGIT - / '!' / '$' / '%' / '*' / '+' - / '-' / '/' / '<' / '=' / '>' - / '?' / '@' / '^' / '_' / '~' - -PipeStrChar <- (![|\\] .) -QuotStrChar <- (!["\\] .) - -StringEsc <- '\' / '|' / '"' / ( HTAB / SP )* LF ( HTAB / SP )* - / 'a' / 'b' / 't' / 'n' / 'v' / 'f' / 'r' / 'e' - / 'x' HexByte+ ';' - / 'u' UnicodeSV ';' - -HexByte <- HEXDIG HEXDIG -UnicodeSV <- HEXDIG+ - -RuneExpr <- Rune ( '\' BareString / CladDatum )? -LabelExpr <- '%' Label ( '%' / '=' Datum ) -HashDatum <- '\' BareString / CladDatum - -Rune <- ALPHA ( ALPHA / DIGIT )* -Label <- HEXDIG+ - -ParenList <- '(' ListBody ')' -SquareList <- '[' ListBody ']' -BraceList <- '{' ListBody '}' - -ListBody <- Unit* ( Blank* '&' Unit )? Blank* - -DIGIT <- [0-9] -ALPHA <- [a-zA-Z] -HEXDIG <- [0-9a-fA-F] - - -# This file should be kept in perfect sync with zbnf.txt for easy -# comparison between the two. - -# Due to a quirk in the peg tool this file is used with, the grammar -# must not allow an empty stream. Therefore, the Unit rule has its -# Datum declared as mandatory rather than optional. -- cgit v1.2.3