|
From: Andre B. <and...@gm...> - 2003-12-17 21:59:29
|
Hello Baptiste, i was checking the codemodel/coderewriter sources and i hope i do understand now the general idea of it. this is enough to do the changes needed to add support for the new macro-replacement feature. However a general idea arises from looking through the sources of code model - what is the main reason to have this parallel implementation of all the statement/expression/declaration elements ? Please correct me if i'm wrong, but I have the feeling that this code makes extensions and modifications of the ast harder, since the code model needs to be synchronized manually (error prone...) wouldn't it be possible to integrate the change tracking functionality which looks very clever :-) ... into the ast ? and reuse the ast - visiting to collect the changes ? Well, my changes to the code model do not affect this ... so in next days there'll be the extension for code model working with preprocessor. bye bye André |