Issue with KDevelop: Is it using different parsers in parallell for different puropuses?

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Aug 15 14:31:51 UTC 2006


On Tuesday 15 August 2006 02:21, Hamish Rodda wrote:
> > As I said above, it will be possible for KDE 4, and it's worked on for
> > C++ at the moment. I believe it's not for performance reasons though, but
> > rather for correctness also in corner cases. Hamish?
>
> Using a true parser will allow much more intricate highlighting that
> provides better visual clues to the programmer.  Look forward to this for
> kdevelop4...
Yes, that sounds good, but it must be able to correctly highlight code which 
isn't finished and might not parse. I would have thought syntax highlighting 
is more like tokenising than parsing, although for code folding you need to 
do more.

-- Richard




More information about the KDevelop-devel mailing list