Cutie-Club / cfw-core

Custom computer keyboard firmware using FreeRTOS™.
GNU General Public License v3.0
4 stars 0 forks source link

Investigate templating as a way to generate C files #3

Open amberstarlight opened 2 years ago

amberstarlight commented 2 years ago

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