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.
Adds the ability to use multiple mangles on an ident. This makes it easier to modify C codes and a little less surprising when other mangles may conflict.
Since this is a large change, there's a "NoMultiMangle" option to disable it. Originally I put this behind an enable switch, but it seems like this behavior would generally be less confusing for users.
Adds the ability to use multiple mangles on an ident. This makes it easier to modify C codes and a little less surprising when other mangles may conflict.
Since this is a large change, there's a "NoMultiMangle" option to disable it. Originally I put this behind an enable switch, but it seems like this behavior would generally be less confusing for users.