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.
I took out the C preprocessor pieces, as that can be done externally. However, I added a fare number of small improvements.
For example, all the render options are able to be set in C directives or by the command line using the --render: option. The delete option is handy for importing large headers.
I took out the C preprocessor pieces, as that can be done externally. However, I added a fare number of small improvements.
For example, all the
render
options are able to be set in C directives or by the command line using the--render:
option. The delete option is handy for importing large headers.