Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-444

Infix separator grammar too complex

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • s11-M1
    • s6
    • Back End, Middle "End"
    • None

      An infix separator currently lays down this parser:

      <alt>
      <seq>
      <ArrayPosGreaterThan />
      <Sep>, ddd List(, ddd, ; ddd, ddd)</Sep>
      </seq>
      <seq>
      <GroupPosGreaterThan />
      <Sep>, ddd List(, ddd, ; ddd, ddd)</Sep>
      </seq>
      <Nada />
      </alt>

      This should be replaced by a primitive InfixSepPrim which prints out as

      <InfixSep>, ddd List(, ddd, ; ddd, ddd)</InfixSep>

      And which implements the same logic but within the primitive. There's no
      performance advantage (and some disadvantage) to elaborating the infix sep logic
      in the grammar.

              efinnegan Elizabeth Finnegan
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: