From 286896bf2fe027e77a2be37eaf86230360989be0 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 20 May 2025 09:47:03 +0200 Subject: misc content updates --- def.peg | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'def.peg') diff --git a/def.peg b/def.peg index 10ba1a5..e40610f 100644 --- a/def.peg +++ b/def.peg @@ -46,3 +46,11 @@ SPACE <- ' ' NEWLINE <- '\r\n' / '\n' / '\r' + +# Semantic Markdown +AnnotatedWordsX <- '[' Words ']' + ('{' (SemWords / ![{}] PlainWords) '}') +SemWords <- SEMPREFIX '<' ![<>] PRINTABLES '>' + / SEMPREFIX Curie +Curie <- NAME? ':' NAME? +SEMPREFIX <- [.#] -- cgit v1.2.3