discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add Clang static AST Analysis to project center


From: Robert Slover
Subject: Re: Add Clang static AST Analysis to project center
Date: Wed, 18 Jul 2012 03:26:58 -0400

You might find this ~2-year-old article by David to be worth a look: http://etoileos.com/news/archive/2010/10/15/1401/ .  I also recall that he posted another shot showing live-parsing, with a typo highlighted in red as it was being typed.  So, at least David is acquainted and has done some research in that direction.

--Robert

On Jul 18, 2012, at 2:58 AM, A Wiebe(Work) wrote:

I don't know if anyone working on the project is familiar or at least acquainted with libClang, or maybe knows someone who is, but what I know for sure is that when using XCode, having automatic completion for code really speeds things up.

libClang isn't quite as well documented as one would hope, but I know it is the correct tool for the job as it has this to say for itself:

"
The C Interface to Clang provides a relatively small API that exposes facilities for parsing source code into an abstract syntax tree (AST), loading already-parsed ASTs, traversing the AST, associating physical source locations with elements within the AST, and other facilities that support Clang-based development tools.
"

Perhaps it is just no well documented enough to just pick up and use( therefore will require some toying with to get it right), or maybe I'm just not looking at the right parts of the documentation.  But certainly it's relatively simple as APIs go, but then relatively, is such a relative term.
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


reply via email to

[Prev in Thread] Current Thread [Next in Thread]