From 12238a7b869863611e64a35961bf9c161d070673 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 3 Nov 2024 21:09:57 -0600 Subject: [PATCH] Bugfix: Mistakes in the IKI specification. Explicitly describe the colon `:` (`U+003A`). The escape sequence is before the colon `:` (`U+003A`) and not the close bracked `]` (`U+005D`). The example should be using `bold` and not `strong`. The specification file names are incorrectly named (should be `iki` and not `fss`). --- specifications/iki.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/specifications/iki.txt b/specifications/iki.txt index c496915..6d47c21 100644 --- a/specifications/iki.txt +++ b/specifications/iki.txt @@ -1,7 +1,7 @@ # fss-0002 iki-0000 # # license open-standard-license-1.0-or-later -# version 2024/06/11 +# version 2024/11/03 # # This file (assumed to be named iki.txt) can be more easily read using the following iki_read commands: # iki_read iki.txt +Q -w -WWW character "'" "'" code '"' '"' italic '"' '"' @@ -46,12 +46,13 @@ IKI Specifications: code:"]" = a single conditionally optional close bracket, character:"]" (unicode:"U+005D"). code:"*" = zero or more occurrences. code:"~" = one or more occurrences, or zero if at start of file. + code:":" = The colon character:":" (unicode:"U+003A"). Before Structure\: code:"\x*\W~\*:*" Structure\: - code:"[\o\e:]\q\c\q" + code:"[\o]\e:\q\c\q" After Structure\: code:"" @@ -69,7 +70,7 @@ IKI Specifications: The following italic\:"is escaped to not be treated as IKI data". - The conditionally optional open and close brackets allow for putting a variable directly next to another word character like: [context]\:"strong"this[context]\:"strong".' + The conditionally optional open and close brackets allow for putting a variable directly next to another word character like: [context]\:"bold"this[context]\:"bold".' Objects (also called vocabulary or variable name) would be\: 1) italic @@ -86,10 +87,10 @@ IKI Specifications: 3.1) Featureless Settings Specification 4.1) const char *string = "My \"quoted\" C string."; 5.1) is escaped to not be treated as IKI data - 6.1) strong - 7.1) strong + 6.1) bold + 7.1) bold The following are core specifications (each with a common name associated with the specification number)\: - - fss-0000: Unrestricted - - fss-0001: Basic - - fss-0002: Simple Script + - iki-0000: Unrestricted + - iki-0001: Basic + - iki-0002: Simple Script -- 1.8.3.1