[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-core-dev] Rational CDT Core Proposals
|
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C2D461.1D072940
> Content-Type: text/plain
>
> Hey gang,
>
>
>
> As mentioned at the last conference call, we here at Rational have been busy
> writing down our ideas for the evolution of the CDT core. The overview of
> the proposal is now at:
>
>
>
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-core-home/docs/ratio
> nalProposals/index.html?cvsroot=Tools_Project
> <http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-core-home/docs/rati
> onalProposals/index.html?cvsroot=Tools_Project>
>
>
>
> There are links from here to four subproposals (scanner, parser, Cmodel, and
> Indexer). More will follow as we get more resources working on the CDT over
> the next few months. Please provide any feedback, questions, broken links,
> etc. to the cdt-core-dev list and we'll be happy to respond.
>
A few preliminary comments after a _very quick_ look(much more to come after
digesting all that).
Parser:
The C/C++ Preprocessor plays other roles, for example:
- concatenation ex:
* strcpy(buffer, "CDT " "Project");
* strcpy (buffer "CDT \
Project");
Some compilers like gcc(unfortunately) allow multiline strings
with concatenation, my humble opinion .. let it fail.
The parser may not be able to handle certain sematics, say
"CDT " "Project" since it is the Preprocessor job to clean this out.
Also I assume that IMacroDescriptor will allow full ANSI C sematic
like pasting ..
Core Model:
- Missing I/O actions like copy/rename/move/delete on the ICElement
For example this will allow to remove the dependency on IResource
blocking the move to M5.
- Question: Is it possible to overload the default parser with an extension point?
I'm cie x , say SlickEdit with some good parser technology and can in theory
do a better job of retrieving information.
Indexer:
- Can we import/export to/from different format? meaning should it
be part of the original plan?
Thanks, we will try to provide as much assitance as possible to get this
rolling.