genco icon indicating copy to clipboard operation
genco copied to clipboard

Support C

Open isaiahpettingill opened this issue 2 years ago • 1 comments

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 #includes for imports.

isaiahpettingill avatar Mar 21 '22 18:03 isaiahpettingill

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

udoprog avatar Mar 22 '22 05:03 udoprog