genco
genco copied to clipboard
Support C
It would be awesome to add support for the c programming language. That way c could be used as a compile target for other languages or just for code generation. ANSI C99 support would be great.
You could use #include
s for imports.
Adding support for another language flavor is pretty straight forward.
If anyone wants to take a stab at it, see for example Go: https://github.com/udoprog/genco/blob/main/src/lang/go.rs