Models, code and example programs for the proposed Fortran 202y preprocessor.
make all
drives statistics gathering from fortran-examples
. We only record information for files with preprocessor directives, ignoring those with none.
This file contains collects counts of the number of cpp-like directive lines and each type of directive found. Also tracks uncategorized directives to make sure we didn't miss any directives seen in the files. This file is in CSV format.
This file is best examined in a spreadsheet program like Microsoft Excel or LibreOffice.
This is a symbolic link to a separate clone of the https://github.com/gklimowicz/fortran-examples repository.
(This was a submodule, but fortran-examples
is now ridiculously large, and it doesn't make sense to have two copies lying about.)
See that project for details on how it is maintained.
We use it here merely as input to the statistics-gathering process.
This script drives the statistics generation for each file. It wraps the separate bin/fpp-stats.awk
file.
This simple script collects the statistics generation for a single file. At some point, it will probably be rewritten in something besides AWK.
Incrementally update fpp-stats
for files added or changed.