Re: Semantic C code indexing and query tool

2012-05-14 Thread Baruch Siach
Hi Dov, On Mon, May 14, 2012 at 09:55:46AM +0300, Dov Grobgeld wrote: > There was just an article on Slashdot about FreeBSD abondoning gcc in favor > of clang. I hadn't encountered clang before, and have read up on it since. > The big difference between gcc and clang was that clang was written fro

Re: Semantic C code indexing and query tool

2012-05-14 Thread Daniel Shahaf
Daniel Shahaf wrote on Mon, May 14, 2012 at 10:35:36 +0300: > Baruch Siach wrote on Mon, May 14, 2012 at 07:34:56 +0300: > > Hi linux-il, > > > > I'm looking for a tool that can do semantic search is a body of C code. > > Example query: "give me all references to field y in struct x defined in

Re: Semantic C code indexing and query tool

2012-05-14 Thread Daniel Shahaf
Baruch Siach wrote on Mon, May 14, 2012 at 07:34:56 +0300: > Hi linux-il, > > I'm looking for a tool that can do semantic search is a body of C code. > Example query: "give me all references to field y in struct x defined in file > z.h". I would prefer an open source, command line driven tool.

Re: Semantic C code indexing and query tool

2012-05-14 Thread Oleg Goldshmidt
On Mon, May 14, 2012 at 12:34 AM, Baruch Siach wrote: > Hi linux-il, > > I'm looking for a tool that can do semantic search is a body of C code. > Example query: "give me all references to field y in struct x defined in > file > z.h". I would prefer an open source, command line driven tool. C++ s

Re: Semantic C code indexing and query tool

2012-05-13 Thread Dov Grobgeld
There was just an article on Slashdot about FreeBSD abondoning gcc in favor of clang. I hadn't encountered clang before, and have read up on it since. The big difference between gcc and clang was that clang was written from the very beginning to be reusable tool, around which various functionalitie

Re: Semantic C code indexing and query tool

2012-05-13 Thread Gilboa Davara
On Mon, May 14, 2012 at 9:03 AM, Baruch Siach wrote: > Hi Gilboa, > > On Mon, May 14, 2012 at 08:52:39AM +0300, Gilboa Davara wrote: >> On Mon, May 14, 2012 at 7:34 AM, Baruch Siach wrote: >> > I'm looking for a tool that can do semantic search is a body of C code. >> > Example query: "give me al

Re: Semantic C code indexing and query tool

2012-05-13 Thread Baruch Siach
Hi Gilboa, On Mon, May 14, 2012 at 08:52:39AM +0300, Gilboa Davara wrote: > On Mon, May 14, 2012 at 7:34 AM, Baruch Siach wrote: > > I'm looking for a tool that can do semantic search is a body of C code. > > Example query: "give me all references to field y in struct x defined in > > file z.h".

Re: Semantic C code indexing and query tool

2012-05-13 Thread Gilboa Davara
On Mon, May 14, 2012 at 7:34 AM, Baruch Siach wrote: > > Hi linux-il, > > I'm looking for a tool that can do semantic search is a body of C code. > Example query: "give me all references to field y in struct x defined in > file > z.h". I would prefer an open source, command line driven tool. C++ s

Semantic C code indexing and query tool

2012-05-13 Thread Baruch Siach
Hi linux-il, I'm looking for a tool that can do semantic search is a body of C code. Example query: "give me all references to field y in struct x defined in file z.h". I would prefer an open source, command line driven tool. C++ support is an advantage. Does such a tool exist? baruch --