Currently, to generate C code, we would need to use string concatenation in our Typescript tool and write the result to a file. As a cleaner alternative, we should look into the ways to implement templating in a C file.
Some options could include:
the standard C preprocessor
a pre-preprocessor i.e. how mustache templating works
using our Typescript tool to generate the entire C file
Feel free to add more options and ideas as this evolves.
The outcome of this card would be a way (or multiple ways) to generate C files dynamically using templates.
Currently, to generate C code, we would need to use string concatenation in our Typescript tool and write the result to a file. As a cleaner alternative, we should look into the ways to implement templating in a C file.
Some options could include:
Feel free to add more options and ideas as this evolves.
The outcome of this card would be a way (or multiple ways) to generate C files dynamically using templates.
Blocked by #7