Is there any tool that analyse a nim library and fix the required imports? I mean something that analyse the types defined by each file and the dependencies required by each file and perform the required imports with the information available.
I have created bindings for a big library using c2nim and fixing everything manually is very time consuming.
It's a nice feature but like Araq says, I've not seen tooling support for it in Nim.
Yeah. Something like that.
And is there a easy way to extract what types are defined in a nim file?
And the same for what procs and their arguments and results are defined in a nim file?