I have written a little program called CodeTwig. It may be of interest to Nim-programmers who sometimes loose oversight of their code. :-)
CodeTwig is terminal-program to view the outline of the source-code and to show procedures as usage-trees or used-by-trees.
https://github.com/some-avail/codetwig
As Nim-programmer you are supposed to compile it yourself. I have only tested it on linux, but I have only used cross-platform functions . However maybe line-endings are problemetic, but i dont expect that.
Limitations (currently):
For anybody who likes to analyse his/her own or other ones projects: CodeTwig.
A newer version 1.62 is available. Now with multi-level subdirs extraction of source-files and the possibility of a multi-project-setup. There is room for improvement (see future plans) but it is moving forward..
@Helmut
Thanks for trying out CodeTwig! If you are willing to file an issue on:
https://github.com/some-avail/codetwig/issues
i am happy to look into the matter. I assume you have successfully compiled other nim-projects on your android-terminal-setup. We can zoom into and discuss the matter on the issues-page..
Based on you info I will allready look into it a little bit; at the issue-page you can give more background-info.
An obvious mistake on my side. getFilePos returns an int64 that i try to put in an int-variable.
The error ocurred in old unremoved function but is also present in the new replacement. Apparently ive been blind to this. Wonder why it compiles at my side though. Is the compiler sometimes lenient in type matching int vs. int64? You dont have to file the issue anymore because it is getting (kind of) clear...