This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gfortran internal tree structure



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]