NOT 1.1 NO IDEA Avatar
  1. OMG Issue

NOT11 — Use of lexical components

  • Key: NOT11-14
  • Legacy Issue Number: 1680
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Firstly, due to the use of lexical components such as "and", "or",
    "not", etc., the grammar is not context free. A backslash (I assume the
    syntactic category <CompEsc> is a backslash) is used to distinguish
    runtime variables from symbol names, and this is enough to ensure that
    any symbol subsequent to "\" is treated as an <Ident>.

    However, the <CompDot> lexical category doesn"t provide for an escaped
    <Ident>. However, I believe the following is legal IDL:

    struct A

    { long and; }

    ;

    This leads to a situation where a constraint such as:

    $.A.and == 34

    must be regarded as syntactically incorrect for the grammar to remain
    context free.

    I believe that the issue can be resolved without ambiguity by extending
    <CompDot> to allow a backslash followed by a <CompIdent>.

  • Reported: NOT 1.0.1 — Wed, 15 Jul 1998 04:00 GMT
  • Disposition: Resolved — NOT 1.1
  • Disposition Summary:

    No Data Available

  • Updated: Fri, 6 Mar 2015 20:58 GMT