# Cool Build server-side components with C! Use the single-header library as a standalone HTML formatter or use the transpiler to convert `.cool` files into `.c` files that you can include directly! ## Example Write something like so: ```code COOL void Api(char *name, char *func, char *desc) {

{ name }

{ func }
{ desc }
} ``` Call `compiler.py` to get `view.cool.c` and include it into your code. ```c #include "views.cool.c" // include server side components directly int main() { char func_name[256]; char func_decl[256]; char *comment_text = NULL; /* ... */ /* call you view directly! */ if (feel_like_it) { Api(func_name, func_decl, comment_text); } return 0; } ``` ## Contributing This is one of the few open source projects where I'm very open to contribution. Web is not my area of expertise. And this idea deserves fome fleshing out.