Code completion and interative syntax (semantic) checking
hausmann at kde.org
Fri Jan 25 14:44:02 UTC 2002
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:
It's an extension to gcc to transform gcc's internal parsing tree to
a verbose XML format.
More information about the KDevelop-devel