[COMPASS-2727] Abstract templates from symbol table Created: 05/Apr/18 Updated: 29/Oct/23 Resolved: 16/Apr/18 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anna Herlihy (Inactive) | Assignee: | Anna Herlihy (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | COMPASS-2309 | ||||||||||||
| Story Points: | 3 | ||||||||||||
| 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? |
| Comments |
| Comment by Anna Herlihy (Inactive) [ 16/Apr/18 ] |