c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.
MIT License
502
stars
62
forks
source link
Capture comments by providing the parent node #231
Currently c2nim skips comments after a constant expression, at the end of an enum (without a comma):
not sure if that's an acceptable solution but it can be extended for #define as well