Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4368

syntax simplification for types declaration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0ruta
    • Fix Version/s: 2.3.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Below a proposal to make the Ruta syntax more succinct:

      When declaring types with a parent type: if no parent type is specified, Annotation is used as the implied default parent type.

      // before
      DECLARE Annotation MyAnnotation(STRING myFeature);
      // after
      DECLARE MyAnnotation(STRING myFeature);
      

        Attachments

        1. DECLARE-filelist.txt
          2 kB
          Renaud Richardet
        2. DECLARE.diff
          8 kB
          Renaud Richardet

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              renaudrichardet Renaud Richardet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: