[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: New parser branch (Was: Dumping the source DOM?)
From:       "Steven T. Hatton" <hattons () globalsymmetry ! com>
Date:       2005-07-13 6:08:07
Message-ID: 200507130208.07825.hattons () globalsymmetry ! com
[Download RAW message or body]

On Tuesday 12 July 2005 12:42, Roberto Raggi wrote:
> On Thursday 30 June 2005 15:47, Vladimir Prus wrote:
> > ghost@zigzag:~/build/kdevelop4-parser$ r++ lexer.cpp
> > Segmentation fault
> > ghost@zigzag:~/build/kdevelop4-parser$ r++ ast.cpp
> > Segmentation fault
> > ghost@zigzag:~/build/kdevelop4-parser$ r++ tokens.h
> > Segmentation fault
> >
> > Am I doing something wrong?
>
> strange! it seems to me you're using the wrong ``r++''(maybe the one
> distribuited with kdevelo3!!?). Please, can you try with "./r++ -dump
> file.cpp" (NOTE the ./ prefix)
>
> anyway, gccxml is *NOT* a solution for KDevelop. We need to parse the
> code(actually the *incorrect/unfinished* code) in realtime. r++ is good
> enough for KDevelop. Actually it is pretty good. It can parse Qt, KDE and
> most of boost.
>
> ciao robe

Lest I be accused of instigating, I was not suggesting dropping r++ when I 
started this thread.  I just wanted a more intuitive way of viewing and 
working with the CodeModel.  In particular, I want to find a way to represent 
a class in the user's source code as a unified XML DOM object.  A place to 
start may be the CodeModelTreeParser.  Now if I could only find the entry 
point from which to start the traversal, and figure out a way to control it.

This really is a difficult nut to crack.  Everytime I look at the source, I 
find something I never noticed before.  For example, today was the first time 
I noticed CodeModelTreeParser.
-- 
Regards,
Steven

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic