Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parsing code files to identify dependencies?
#1
From time to time I run into this issue where 
  • I have a program with multiple modules (in QB64, VBA, VBScript, etc.) containing some functions or routines I want to reuse in another program
  • Various routines call other routines, and there is a dependency chain.
  • So I end up having to copy one function at a time, try to compile, see what functions or variable definitions the IDE complains is missing, copy that over, test again, and so on. 
  • For bigger projects, this can take up some time and gets pretty tedious.

If anyone has found any tools or written a script that can parse multiple files of QB-like code, making a map of what functions are contained in each, and parse them all to see what functions they call, so that for function X to work somewhere else, will produce a list of all the routines you'll need to move over (including their dependencies, and so on), I would be interested in hearing about it!
Reply


Messages In This Thread
parsing code files to identify dependencies? - by madscijr - 03-23-2023, 09:02 PM



Users browsing this thread: 1 Guest(s)