# Introspector/Snippets

Here are all statements that are under one line

## Interfaces

Introspector interfaces are Import and export routines that allow RDF statements to be extracted from InternalDataStructures? of programs.
We will build interfaces to the following projects for data extraction
[CLanG C] [CPlusPlus C++], ObjectiveC and JavaLang support from the GccProject http://gcc.gnu.org/
[CsharpLang C#], [MicrosoftIntermediateLang MSIL] and other language support via the DotGnuProject http://www.gnu.org/projects/dotgnu/
GnuMake
PerlInternals
ParrotMetaData
M4Language
AutoMake
AutoConf
BashDb

### PerlDesignPatterns

http://search.cpan.org/src/SWALTERS/Object-PerlDesignPatterns-0.03/PerlDesignPatterns.html#SingletonPattern

### Glade

Glade is just one of the many forms that can be imported into Luxor http://luxor-xul.sourceforge.net/

## DataRepository

The data repository will be a distributed RDFServer that stored and indexes the RDFFiles.
The Representation of the knowledge extracted by the introspector is simple : It is a list of identifiers, labels, ids. Things that have a semantic assigned to them, or that may be assigned to semantics. These things are nodes, items, blocks. Basically they are the foundation of knowledge. http://www.burningchrome.com/archives/unrev-ii/msg01818.html

## Declaration management

the user should be able to declare new identifiers, replace them, and import and export them from the system
We need ways for users to declare new data structures. The data declarations of the introspector provide a common naming system for all related tools

## DataExtraction

we need new tools to extract RDF metdata out of various other systems. We support many different file formats for the introspector. more to come here, TODO : add a table of file formats We need to be able to dump out tabular text files of various names and types in the system. Depends on the QuerySystem? Doxygen like HTML output is important. We will support various XML format inputs and outputs. The main focus is moving towards RDF, because of the power of the rdf notation. But Using RDF to annotate XML trees make sense for representing the object structure.

### NTriples

NTriples are even simpler than n3. http://www.w3.org/2001/sw/RDFCore/ntriples/

### N3

n3 is a simple rdf alternative notation http://www.w3.org/DesignIssues/Notation3.html See also http://www.w3.org/2000/10/swap/Primer.html

## Used Projects

I would like to use the BootLib? http://www.boost.org/

### BASHDB

The introspector needs to be accessible from the bash command line.

### EMACS

The emacs interface promises many integration tools

## RDF

Rdf is a data format that is best described here http://www.w3.org/RDF/ What is Rdf? http://www.xml.com/pub/a/2001/01/24/rdf.html Many people ask, why do you use Rdf instead of Xml.

### Redland

I use Redland http://www.redland.opensource.ac.uk/ Redland is a RDF application framework with many SwigLanguageBindings?. http://www.redland.opensource.ac.uk/ We use redland to interface with C modules.
I use Perl http://www.useperl.com/ I use EulerSharp? http://eulersharp.sourceforge.net/2003/03swap/

## Ontology

I have posted the first version of the introspector ontology here http://introspector.sourceforge.net/2003/08/16/introspector.n3 please review

## Used On Projects

On this node, you can find examples of introspected projects :

### Parrot

http://www.nntp.perl.org/group/perl.perl6.internals/14717?show_headers=1

### M4

http://mail.gnu.org/archive/html/m4-discuss/2003-01/msg00001.html

## Vizualization

The visualization tools will be Built upon the following ToolChain :

## OUTPUT
### Code Generators

It should be easy for a user to create new code generators

### Graph layout

Graph Layout Tools vcg graphvis tulip xvpodb and more

### Dia Interface

Petal2Dia : see this http://mail.gnome.org/archives/dia-list/2002-November/msg00111.html AutoDia is a great module from Arron http://droogs.org/autodia/