Link to home
Start Free TrialLog in
Avatar of carlos-uk
carlos-uk

asked on

Building a dependency graph from a parsed file

How will I be able to do this?
1) get X file (eg. from my PC)
2) parse it
3) transform to code with semantic meaning
4) create/extract/build a dependency graph from the code obtained in step 3

Is there any open source application/program/framework for this? If not can anyone point me in the direction of where would i find the basics for me to code such thing (Java, C++, C)

Thanks
ASKER CERTIFIED SOLUTION
Avatar of AlfredRobot
AlfredRobot
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It all depends what you needed it for. Sometimes you need just part of those libraries and you do not need or want to include everything else because your dll or exec files will be huge.
What I suggest to you is to take a look at x3d file format in the following link:
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-1.2-X3D-AbstractSpecification/
from here you can look at how the classes are designed and you could build yourself a loader and a saver module. these modules will only contain the information that you strictly need and not all the extras that you will probably never use.
This way you can practically define your own xml format : in the case of x3d it uses different objects in order to make a graphical display ( it is basically an xml format but adapted for a graphical viewer)
It is not an easy job but it is doable
Best of luck.
Avatar of Mike McCracken
Mike McCracken

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.