-
Key: KERML-109
-
Status: closed
-
Source: Self ( Jim Ciarcia)
-
Summary:
TypeDeclaration : Type = ( isSufficient ?= 'all' )? Identification ( ownedRelationship += OwnedMultiplicity )? ( SpecializationPart | ConjugationPart )+ TypeRelationshipPart*
Specifically the "( SpecializationPart | ConjugationPart )+" I don't think should be 1 or more, aka it should not have the "+" at the end.
This allows legal syntactic constructs that do have multiple ConjugationParts or ConjugationParts and SpecializationParts.
Multiple ConjugationParts or ConjugationParts and SpecializationParts appears to be against the Abstract Syntax.A better syntax may be "( SpecializationPart+ | ConjugationPart )" if you really want to keep multiple SpecializationParts
-
Reported: KerML 1.0b1 — Sun, 9 Jul 2023 22:13 GMT
-
Disposition: Resolved — KerML 1.0b2
-
Disposition Summary:
Correct TypeDeclaration production
The intent is that a TypeDeclaration have a single one of either a SpecializationPart or a ConjugationPart. So the "+" should be removed, as suggested.
-
Updated: Tue, 1 Jul 2025 15:01 GMT
KERML — Textual Syntax allows multiple ConjugationParts on a Type
- Key: KERML-109
- OMG Task Force: Kernel Modeling Language (KerML) 1.0 FTF