|
From: Andre B. <and...@gm...> - 2003-08-03 11:01:37
|
> > >Welcome back Andre. > thanks :-) >I ported the 'mini parser' core to python last week-end, so it would be >easier to prototype a robust parser implementation. Current results are very >positive. > << skipped >> >The inheritance is not parsed here, because I'd like to implement a mecanism >to make a local parsing. We know were the inheritance declaration starts and >ends, this should help parsing potential templated inheritance more >robustly, doing a 'sub parsing' on the specific token range. > >The interesting part is that you can still write 'hand written' parser to >handle real weird case if needed. There is still much to work out, but it's >really promising. > Sounds interesting - well it's good to have you, just so open minded to even throw away ugly looking code ;-) ... Sometimes I'm not so relaxed - since so much time has been spend on the written code ... But I like your idea. It's looking much more simple than the complex stuff in the declaration parser. At the moment I would like to work a little bit on the refactoring features, just to show that the things are going on there, too. btw) I've checked again the eclipse pages for CDT (that the C/C++ Developer Plugin). At the moment their implementation is planned to work with an XML representation of the parsed C/C++ code. this weekend is so hot here in berlin - 35 degrees. until later, André |