[Synopsis-devel] use of g4re (was Re: software design clarification)

Gilles J. Seguin segg at infonet.ca
Tue May 15 00:24:35 UTC 2007


On Mon, 2007-05-14 at 10:23 +0200, Markus Elfring wrote:
> > Heck, pretty much all of this:
> >   http://c2.com/cgi/wiki?CategoryExtremeProgramming
> 
> I am curious how this software development approach would work here in 
> practice.
> http://en.wikipedia.org/wiki/Remote_pair_programming
> http://xpairtise.sourceforge.net/
> http://www.moonedit.com/indexen.htm
> 
> Which stories or use cases would you try to implement higher processing 
> levels for source code analysers?
> http://g4re.sourceforge.net/images/hierarchy.png

Some comments about g4re

- g4re is a post source code analyzer.
- g4re is post source code analyzer because the source code analysis
  has been done by the front end of the C++ language.
- The front end of Gnu Compiler Collection for C++ language is
  c11plus.
- c11plus application has default path like
   /usr/libexec/gcc/i386-redhat-linux/4.1.1
- c11plus work on source that has been pre-processed.
- c11plus can create files that give an internal representation of the
  language.
- Internal representation of the language was before version 3 of gcc
  only available has RTL representation.
- New internal representations are GIMPLE and GENERIC.
- Other application that give internal representation
  PDT http://www.cs.uoregon.edu/research/pdt/home.php
- No other projects has succeed to parse C++ language
  in presence on or used of template -- re-read and emphasis

- I will read and used any mechanisms that can give us 
  the data needed for the used of synopsis.
- g4re is mainly concerned about views on program.
  Those view are help on understanding the program.
  g4re first tools on the chains of tools,
  is all about reducing size of GENERIC.
  The important point here is, it is all done in internal memory.
- That is, g4re and synopsis are post source analysis tools.

Stefan has given no clue if output of TUxformer would be enough
for Synopsis has final or intermediate solution to parsing C++.

The used of TUxformer is not "can in" tools.
- application work on output of gcc 3.3 version, and only.
- that is, my gcc version 4.1.1 default compiler would not work.
- compat gcc compiler exist as far as i know only on Linux.

must interrupt here, may be more later




More information about the Synopsis-devel mailing list