Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Using Eclipse CDT's Parser in a Standalone Refactoring Tool

> Hi I'm currently an student doing a project which involves creating a
> program capable of representing a C project (files, functions...etc)
> visually and which will allow the user to perform simple higher as well as
> lower-level refactorings via the graphical interface itself. I originally
> intended to use the GCC translation framework available with ANTLR for the
> job of parsing the C files and source code in but someone else recommended
> that I perhaps consider Eclipse CDT's parser instead.
> 
> I was wondering if I could get some feedback as to whether the CDT parser
> would be well suited for a project of this nature. Ideally the parser would
> be capable of catering for preprocessor directives, be able to read in
> different C files as a single project and perform code transformations with
> ease. It would also be much appreciated if I could perhaps be pointed to
> other standalone projects, examples which use the CDT parser in this manner
> or maybe even tutorials if they exist. Thanks alot in advance

I guess the CDT parser is well suited for this as there is already a
C++ refactoring plugin, see:
  http://r2.ifs.hsr.ch/cdtrefactoring
C refactoring enhancements/extensions will be welcome.

Regards,
  Wieant


Back to the top