New issue 18 by TakaoKotani: a callcaller tree generator
http://code.google.com/p/f2py/issues/detail?id=18
I wrote a small program to generate callcaller tree for Fortran codes.
f_calltree.F file1 file2,... >callcaller.dat 2>callcaller.err
Generate call caller for fortran codes.
Put this just above f2py directory.
I hope you will include this in your fparser package if possible.
(Warning: this cause an error if computer codes are gramatically wrong
when we comment out preprocessor lines. Further, include is not treated
well).
Another point.--
fparser uses yellowtext and so, and ubyte in numpy.
So people need to install numpy only in order to use fparser.
I think this is a little too demanding for people who just want
to use fparser only. So I hope fparser works without numpy.
Attachments:
f_calltree.py 3.8 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I am trying to develop a little better version. Analysis on
-----------
1.program units.
*Decleared variables.
*Contained program units.
*Identification of I/O of variables. I/O of files.
2.Relations between the units.
-----------
are important things.
The yellowtext, etc can be copied from numpy to f2py but I think
currently the most important usage of numpy within f2py is with
setup.py scripts. I find it more convenient to use numpy.distutils
for packages that contains many standalone subpackages.
May be in future, when fparser becomes more stable, we can remove
numpy dependency, but for now, I think, having numpy around is convenient,
especially because the f2py project will contain in addition to fparser
subpackage also, for example, wrapper generation package that will
require numpy.
About additions to fparser. Please look at the small programs in
fparser/scripts directory, it would be easier to include your scripts
to fparser if you would use the same convention for writing scripts
as these example scripts.