Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2202

Code Gen Framework

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.1.0
    • Back End C-Generator
    • None

    Description

      We have built a C code generator and runtime2 backend for Daffodil on a dedicated development branch. Currently the C code generator implements a small but still functional subset of DFDL 1.0 for binary data:

      • binary boolean, integer, and real numbers
      • arrays of simple and complex elements
      • choice groups using dispatch/branch keys
      • validation of "fixed" attributes
      • padding of explicit length complex elements with fill bytes

      We have met the following acceptance criteria in order to submit a pull request to merge the runtime2-2202 development branch into the main branch:

      • [X] Works on "real" messages with sufficient complexity to demonstrate functionality
      • [X] Contains test schemas and TDML test cases covering all supported features
      • [X] Fully integrates these tests into Daffodil's build process
      • [X] Has instructions how to setup required C tool-chain elements on Linux and Windows

      We are documenting reviewer requested changes in Runtime2 ToDos. We plan to address these changes while continuing to build out the C code generator to implement more of the "Runtime 2 Design" table. Build requirements and instructions are in the top-level README.md and BUILD.md files.

      Attachments

        Activity

          People

            interran John Interrante
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: