From e8ea5e907ca1fb359d5dd342e505a78bab42d879 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 12 Aug 2021 10:14:58 +0000 Subject: [PATCH] Renamed tester to fit with parser naming --- spec.org | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/spec.org b/spec.org index 3e609e8..ddff731 100644 --- a/spec.org +++ b/spec.org @@ -7,7 +7,7 @@ - Line :: Main component of Block - Code :: Contains text and language - Heading :: Contains level and words -- List :: Contains level, number and words +- List :: Contains level, number and words. If number=0, list is unordered - Word :: Token of text - Text :: String single word - MathDisp :: Display level math @@ -18,12 +18,12 @@ - Link :: Link to other place, containing link text and link destination Document: Block* -Block: Table | Line* | Code +Block: Table | Word* | Code Table: Word* (2d array) Code: Straight strings -Line: Heading | List | Word* | MathDisp -Word: MathInline | Link | Format -Format: Bold | Italic | Verbatim | Text +# Line: Heading | List | Word* | MathDisp +Word: MathInline | Link | Format | Heading | List | MathDisp +Format: Bold | Italic | Verbatim | Text | Underline | Strikethrough Italic: Format Bold: Format Verbatim: Format @@ -31,6 +31,7 @@ Heading: Word* List: Word* + * Language features and syntax ** Org *** Document @@ -60,6 +61,8 @@ Italic is between ~/ /~. Bold is between ~* *~. Verbatim is between ~\~ \~~. +Strikethrough is ~+ +~. +Underline is ~_ _~. *** Link Links are ~[[destination][text]]~. *** Comments -- Gitblit v1.10.0