From: Stefan S. <sse...@ar...> - 2004-10-21 19:03:22
|
> From: SF Markus Elfring [mailto:el...@us...] > Sent: October 21, 2004 14:27 > What do you have got in mind with this "superstructure"? > How is it different from a "Inspector Clouseau API"? As in the Clouseau API identifiers (strings) are helt by value and not by reference, you can't simply modify the parse tree *in place*. What Grzegorz and I discussed a while ago was a way to access (and that includes modify) the underlaying structure. > Do you think about a concrete class hierarchy for more introspection? I don't understand the question. As I said earlier, both the parse tree as well as the symbol table (and assorted analyzers) provide the means to introspect the code. the AST API would simply be a convenient high level view on these two. There isn't any more information that is not already available through the PTree and the SymbolTable modules. > Would you like to apply the design patterns "adaptor" or > "facade" like it is done in Keystone? can you should an example of what you have in mind ? Regards, Stefan |