[cfe-dev] How can I use incremental compiler?
m2ym.pub at gmail.com
Thu Feb 18 03:10:59 PST 2010
I'm working on C++ code completion in Emacs by using -code-completion-at option.
I know C++ is not fully supported yet, but It seems work well (I'm
looking forward it).
However, I have also found that incremental compiler is not seen, which is the
most important part for code-completion.
So, where can I find incremental compiler? And how can I use it to
faster? If you don't implement it yet, how can I start to implement it?
Actually, all what I need is just incremental parser, not incremental compiler.
I am a newbie for this field. All knowledge currently I have are:
GCC is too complicated and too slow. It is almost impossible to implement
incremental compiler/parser. Two challenges existed: "A Gcc Compile
"IncrementalCompiler". However, they are outdated.
A GLR parser for C++ based on Elkhound. I have read a thread "clang
and I understand what clang team is trying to accomplish. Of course,
it is very good
for code-completion. So, I don't want to extend Elsa anymore.
* EDG C++
This is one of C++ front ends for commercial use. It has good
many other C++ compilers, and I guess it has an incremental compiler
which is refactoring tool for C++, uses it internally. Recently,
Visual C++ Team decided
to use EDG front end for its compiler and intellisense. It will be
available on VS2010.
Well, it is closed. No anymore talks here.
I don't like LLVM's license, but I'm really really looking forward
to it, as I said. I want C++ compiler which never segv when compling
C++ source codes...
Anyway, could you please give me information or advice?
More information about the cfe-dev