Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2727

Abstract templates from symbol table

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Export to Language
    • None

    Description

      This needs to happen before we can do anything else.

      Right now the symbol table just has the java templates directly in them, but we need a way for each code generator to fill out the template and argTemplates with the correct language.

      Should we put it in a separate file, and have a "loader" that fills out the symbol table with the template?

      Should we have a separate "templates" object?

      Should we just copy + paste the SymbolTable.js and fill out the correct templates for each target language, then worry about abstracting it away later?

      Attachments

        Activity

          People

            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: