Gfortran internal tree structure
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Wed Jun 18 16:22:00 GMT 2008
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
More information about the Fortran
mailing list