Basically, what I'm trying to figure out is:
which module imports which ones (and a tree sort-of-thing with all the relations between them)
I've been trying to re-organize my code a bit and something like that would come really handy.
Is there such an option anywhere? Is there a tool already for something like that?
(If not, I'm really tempted to write one myself)
nim cmd --dump:out.json args which would include compilation side information to out.json, from which another program could extract that information (there is a nim dump --dump.format:json but it doesn't compose )
Perfect! Thanks a lot for the idea.
I'll try it out to see what I can come up with! :)
Well, I just did.
Here's the result of my experiment: https://svgshare.com/i/VBJ.svg (a big mess, admittedly! lol)
Now, I'll just have to filter the system modules, and I think I'm pretty close to what I was looking for in the first place.
Thanks!