[Introspector-developers] Experimental Redland and Plan
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2002-11-21 09:04:47
|
Dear Fellow Hackers, Today I have uploaded a new experimental (read completly unstable and untested) module, a hack of the nice Redland library for RDF output. After our irc.openprojects.net #introspectors chatathon last night, we have discovered on thing : we need a plan! Here is the plan : We will be linking this into the gcc and replacing the printfs with calls librdf. This will create a model of the gcc asts as a set abstract statements about things. These models can be passed between programs in memory, and the librdf/redland using swig has Perl, Java , Ruby and other interfaces there. This can be very usefull to us and get more people more quickly involved. Of course this idea is not finished, and I have to admit, my RDf is really bad. Here is a simple idea of some statements about program: (by no means valid) "tree.c" is-a Source-File. "tree.h" is-a Header-File. "tree.c" includes "tree.h". "tree_node" has-id nodeid-1. nodeid-1 is-part-of "tree.h". nodeid-3 is-a identifier. nodeid-3 has-name "tree_node". nodeid-1 named-by nodeid-3. nodeid-2 is-a identifier. nodeid-2 has-name "name". nodeid-2 is-a field-decl. and so on.... Of course there are many ways to write the same thing, but it will come down to the something like that. You will find the newest modules here (for debian GNU/Linux, not mingw32) http://introspector.sourceforge.net/debian/incoming/?M=D Raptor the RDF parser http://introspector.sourceforge.net/debian/incoming/raptor_0.9.6.orig.tar.gz Redland : http://introspector.sourceforge.net/debian/incoming/redland_0.9.11-1.tar.gz The perl interface separated out : http://introspector.sourceforge.net/debian/incoming/lib-redland-perl-0.9.11_0.9.11.tar.gz Mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |