Introspector Project collects Semantic Graphs from the GCC compiler via an XML interface and stores them in a Postgres Repository
Seth: Gcc bootstrap and Postgres interface underway
mdupont: The introspector project could produce RDF for into a DAML Index
mdupont: The Postgres database could be used for storing any old DAML
mdupont: Possible targeted compilers include GCC C++, Java, the DotGNU c# compiler and others including Perl,Python and Ruby
mdupont: Possible targeted compilers include GCC C++, Java, the DotGNU c# compiler and others
mdupont: The introspector patches the GCC to dump the semantic network of nodes from a give input program
mdupont: It uses a simple XML graph and attribute syntax and PIPEs this information to a perl program that parses it on the fly.
mdupont: Currently it does not support RDF, but with the help of the motivated and helpfull team at RDFIG we will be able to use DAML real soon now!!!
mdupont: The compiler if it does not support advanced code introspection like perl and ruby needs to be patched to support the Introspector interface.
mdupont: The compiler if it does not support advanced code introspection like perl and ruby needs to be patched to support the Introspector interface.
mdupont: There is currently no DTD or Schema available.
mdupont: But an example output can be found at http://introspector.sourceforge.net/xml/_tree_size.xml.gz
mdupont: That represents the XML dump of a function called tree_size
mdupont: Which returns the size of a tree object, which is a atomic symantic node of the compiler
mdupont: The purpose of the introspector is create an interface into the compiler to extract meta-data about a program
Seth: Kewl ... i want to to work for python
0 Comments:
Post a Comment
<< Home