KerML 1.0b2 FTF Avatar
  1. OMG Issue

KERML — Exponentiation should be right-associative

  • Key: KERML-165
  • Status: closed  
  • Source: Dassault Systemes ( Mr. Andrius Armonas)
  • Summary:

    If you look at the following sample:

    1 a = 2 ^ 3 ^ 4;
    2 a = (2 ^ 3) ^ 4;
    3 a = 2 ^ (3 ^ 4);

    Both lines 1 and 2 will generate the same model in SysML v2 pilot implementation.
    This means that exponentiation operator seems to be left-associative, which is unusual, as exponentiation is supposed to be right-associative.

  • Reported: KerML 1.0b1 — Thu, 14 Sep 2023 15:06 GMT
  • Disposition: Resolved — KerML 1.0b2
  • Disposition Summary:

    Make exponentiation right-associative

    Exponentiation should be right-associative.

  • Updated: Tue, 1 Jul 2025 15:01 GMT