Well I have used c2nim successfully, on thousand of lines of C++ code. So when 
I have to read

> c2nim fails on macros and other slightly complex things.

it does annoy me.

If you want to do better than c2nim, patch c2nim to either fix some of its 
parser bugs or patch it to use libclang's parser and pay special attention to 
`#defines` which c2nim does handle easily, for the most part.

I mean seriously, you're re-inventing c2nim, but much more poorly

<https://github.com/pmunch/futhark#hard-names-and-overrides>

that's not how it's supposed to be done, Nim uses an `importc` mechanism and 
c2nim supports a `--nep1` switch.

Reply via email to