From aba01b80e7ea75438db7933f9430997bc853250f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 26 May 2025 10:05:06 +0200 Subject: add syntax SemWord --- syntax/def.peg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syntax/def.peg') diff --git a/syntax/def.peg b/syntax/def.peg index 30157d2..11ce1ab 100644 --- a/syntax/def.peg +++ b/syntax/def.peg @@ -51,7 +51,8 @@ NEWLINE <- '\r\n' # @see AnnotatedWordsX <- '[' Words ']' ('{' (SemWords / ![{}] PlainWords) '}') -SemWords <- SEMPREFIX '<' ![<>] PRINTABLES '>' +SemWords <- SemWord (_ SemWord)* +SemWord <- SEMPREFIX '<' ![<>] PRINTABLES '>' / SEMPREFIX Curie SEMPREFIX <- [.=] -- cgit v1.2.3