[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-core-dev] CDT Indexing
|
No problem, I will wait for your answer then. But do I have to ask the same question later or I will be replied on the same thread.
Actually I am a newbie in working with IDEs and language parsing. I am currently working on a project that requries an IDE for a programming language, for which I have to write a parser and maintain a symbol table. Instead of reinventing the wheel, I want to adopt techniques and standards used by professional developers. I found eclipse to be the best resource for such a purpose, as it is open source and it maintains a mailing list specially related to the development of an IDE. I am trying to follow the route used by the developers of eclipse and CDT to ensure that I am going the right way.
My approach is definitely not as exactly intended as you would expect in this mailing list, that is extending CDT or eclipse but actually I am creating a seperate application but wish to base it on one of the best designs. I was having problems in this regard that is why I ask questions about "CDT that requires such knowledge of its internals".
Hope to hear from you soon.
----- Original Message -----
From: John Camelon
Date: Thu, 27 May 2004 11:48:25 -0400
To: cdt-core-dev@xxxxxxxxxxx
Subject: Re: [cdt-core-dev] CDT Indexing
Sorry that no-one has answered you, we're all pretty busy trying to release CDT for M9.
We'll be happy to answer your question once things have quieted down a bit.
Out of interest, what are you trying to do with CDT that requires such knowledge of its internals?
JohnC
www.eclipse.org/cdt
cdt-core-dev-admin@xxxxxxxxxxx wrote on 05/26/2004 05:45:02 AM:
> I have come to know that the index has a store of all the symbols
> parsed by the parser in the form of AST nodes. But when the size of
> the index goes beyond a set limit the index is merged into
a file onthe disk.
> I have a few questions on this issue:
> firstly, is this file created for the sole purpose of limiting
> memory usage or it is reused whenever the CDT is restarted or a
> project is reopened. In the former case, is the index recreated at
> startup by parsing all the projects or at least the currently opened files.
> secondly, does this index maintain a list of identifiers and their
> offsets in their files only. Or does it also store information
> regarding their type and symantics in the file they exist.. When we
> say that the file has a record of relationships between different
> C/C++ elements. What kind of relationships are we talking about. I
> mean is it that its a variable, class definition, function or a member etc.
> thirdly, when is the firs
t COMPLETE_PARSE done, at startup or first
> content assist, etc. When a content assist is required does the CDT
> parses all the included files (all of the project in case "search
> entire project" is selected from user preferences) again or does it
> loads their symbol tables from hard disk or has it already parsed
> them at some previous instance etc.
> I would be grateful if you take your time in answering my questions.
> Thankyou for all the help I got so far.
>
> --
> __________________________________________________________
> Sign-up for Ads Free at Mail.com
> http://www.mail.com/?sr=signup
> _______________________________________________ cdt-core-dev mailing
> list cdt-core-dev@xxxxxxxxxxx http://dev.eclipse.
> org/mailman/listinfo/cdt-core-dev
--
__________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup