From: Andre B. <and...@gm...> - 2003-01-31 15:46:13
|
Sven Reichard wrote: >Since the CodeGenerator code isn't used yet, I don't really understand it. >I'll try to work on it. > I think I understood the main idea by anlysing the tests written by Baptiste. In the tests the code generator is used in the following way: - Parse a code to an AST (lazy parsing as used in the Refactoring code) - Transform the AST to Code-Elements like if-statement/for-statement etc. (for each programming element there is a class - Code-Elements are used to rewrite the code in a textual form (formatting stuff). For me it seems to be a transformation between the AST-representation and a new CodeGenerator representation. This codegeneration representation can be used for formatting. > >I'll read what you wrote about the FullParser stuff. I would increase its >priority to medium, since it is necessary for a Linux interface (in its >current design). > I also think the priority of this task should be increased. However, we should also prepare some release before adding functionality (e.g. an installable plugin for visual studio). To show the world, that there's something comming up. Btw) I checked again the eclispe C++ plugin especially for the refactoring functionality. The only thing I found, was some dicussion on using an open source c++ parser... well that's not really far, I will check periodicly what's going on over there. until later -- André |