This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Apr 21, 2010 at 01:12:37PM +0200, Basile Starynkevitch wrote:However, I am not sure to understand why Tomohiro needs to hack the GCC parser itself. I was thinking that he might instead write a plugin which works at the Generic/TREE (or even perhaps Gimple) level.
That doesn't make sense. If you're doing code completion, then by definition, what you have now does not parse. If it doesn't parse, you can't build IL from it. A parser is pretty much all you need for code completion, not any of the rest of the compiler (e.g. Eclipse has just a parser and a syntax tree).
Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |