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/framew ork 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
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/framew
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
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.