[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:
Gantt Dependency
has to be done before COMPASS-2621 Add BSON type constructors to python ... Closed
has to be done before COMPASS-2626 Expand C# generator to BSON type cons... Closed
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 ]

https://github.com/mongodb-js/bson-compilers/pull/23

Generated at Wed Feb 07 22:30:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.