Re: Use gcc front-end for metrics

2006-08-21 Thread Christian Wagner
In order to build a metrication tool I need a frontend that can provide me with an abstract syntax tree containing information on all actual language constructs in the code and also a CFG representation. I reckon GCC has these capabilities and I was wondering if any of you could tell me if it is p

Re: How to extract internal tree structure information?

2006-07-26 Thread Christian Wagner
Hi, Steven Bosscher wrote: On 7/25/06, Christian Wagner <[EMAIL PROTECTED]> wrote: Hi, I'm trying to extract information from C++ code during the compilation process. I need information about declarations, statements, functions (including parameters and symbol name), source line

How to extract internal tree structure information?

2006-07-25 Thread Christian Wagner
Hi, I'm trying to extract information from C++ code during the compilation process. I need information about declarations, statements, functions (including parameters and symbol name), source line and source file. In my opinion I have two ways to solve this problem: 1) The first one is to find