This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Gfortran internal tree structure
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Daniel Kraft <domob1812 at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>
- Date: Wed, 18 Jun 2008 18:22:08 +0200
- Subject: Re: Gfortran internal tree structure
- References: <4859268E.5040908@domob.eu>
Hi,
Daniel Kraft wrote:
It would surely be helpful to have some support here for anyone not
familar with these details, but AFAIK there's no real documentation
around (maybe a bit in the dump-tree.c file or what it's called, but
that's not perfect). What do you think about writing a (maybe just
quite summarizing) documentation about how gfc_code statements and
gfc_expr expressions have to be structured for IF, DO, things like "a+5"
or "ALLOCATED(arr)" and whatever comes to mind? Or is there already
such documentation and I missed it?
The code in dump-parse-tree is the documentation of this structure, so
one could say it exists. (Originally, the various dumper functions used
to reside next to the code dealing with the individual things dumped, so
they were closeby.)
That said, I think all efforts towards better documentation are welcome
efforts.
Cheers,
- Tobi