Fortran Standards checking tool
I have been thinking for some time that it would be great to have a Fortran parsing tool that does precise syntax checking against standards. There are a few tools like this, but I think we need an Open Source tool so that it can be used by everyone as the common standards-checking tool.
In order to parse Fortran in such detail, the same tool could be used to generate and check argument INTENTs, accurately rename variables, etc. It could also be used as a style formatter (indentation, etc.), and produce code descriptions for things like Doxygen.
Parsing Fortran can be difficult, but I came up with a plan that makes it fairly easy. I am using Perl with Yapp (yacc for Perl), but avoid the LALR limitations by only doing an incomplete parse. An array section and a substring are not distinguished by the yacc grammar. They are simply "colon delimited lists". Once the code is tokenized, the remaining higher-level analysis needed to parse Fortran is fairly simple.
Is anyone here interested in collaborating on such a tool (and good at Perl)? Maybe there is already something like this that is still in development?

