Wednesday, October 30, 2002

The introspector class model, high level


The class introspector is made up of two primary components, the input and the output. Input comes from interrupt routines inserted into attributes to create properties. This then allows for methods to be attached to feed into the graph layout algorithm. The graph layout algorithm feeds in turn the diagramer for drawing the diagrams. The compiler is fed from the diagram in a code generation schema. The compilers lexer feeds the parser that builds nodes.

Trees grow out of the seeds of those nodes. These trees are then strung togeather into new structures.

The gcc is made up of a cpp, preprocessor, the bison parse with the function yyparse. The gettoken function that reads a token from the stream is gotten from a lex interface. The cscc is just shown here as an interface to another possible compiler.


Post a Comment

<< Home