KerML 1.0b2 FTF Avatar
  1. OMG Issue

KERML — Textual Syntax allows multiple ConjugationParts on a Type

  • Key: KERML-109
  • Status: open  
  • 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
  • Updated: Mon, 8 Apr 2024 21:42 GMT