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

List:       kdevelop-devel
Subject:    Re: Code completion and interative syntax (semantic) checking
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2002-01-25 13:42:37
[Download RAW message or body]

On Fri, Jan 25, 2002 at 03:29:01PM +0200, Eray Ozkural (exa) wrote:
> On Friday 25 January 2002 13:20, Gregor Zeitlinger wrote:
> > I suggest doing search with _fuzzy_ logic. If a line doesn't end with ";"
> > it's maybe_error and if ";" is not at the end of line as well. The maybe
> > error might recover, but if it doesn't it will show the error there.
> > An maybe_error recovery might consist of finding that the ";" was in a for
> > statement, or you just did two statements in one line, although that's
> > unlikely.
> >
> 
> Do you have any idea what a fault tolerant parser is? 
> 
> It doesn't have anything to do with fuzzy logic if you're curious.
> 
> Such a parser isn't exactly something you can hack together. If that were the 
> case we would be seeing several high quality NLP tools arising from the works 
> of sourceforge crowd, which is not the case.
> 
> I doubt you know enough of language theory to talk about it.
> 
> ...

Not sure if this really fits into this thread, but here's an
interesting project with regard to parsing c/c++ code:

http://public.kitware.com/GCC_XML/

It's an extension to gcc to transform gcc's internal parsing tree to
a verbose XML format.


Simon

_______________________________________________
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