parsing - How to use Fortran compilers to parse-check or pretty print source files? -


Is there a way to try to parsor or cure a source file (does not include the following, no compilation Do not linking, etc.) to tell us whether they are syntactical / valid file syntax for at least the FORTRAN version (77, 90, 95, ...) or at least valid?

I'm working on a part of the software that will pars and analyze Fortran source files, change their meaning on the representation and as a result the new Fortran source code will generate the files.

  • You can parse the files if Everport and Gafran reject it (That is why I called it with certainty, forgiveness, etc. Hehe ^ __ ^ ")
  • This is the reason why I would like to know whether the initial steps of the project, For strict syntax verification, you can use the representative. / P>

    Do you try to look at the man page

    should support gfortran

      -syntax-only / check the code for syntax errors, but do not do anything with that.  

    should support for ifortran

      -fysyntax-only / -syntax-only / -y // has all the same meanings // Specifies that the source file Correct syntax Sector should be Czech to. // No code is not generated, not created an object file, and bypass the check error by the optimizer. This option lets you test quick syntax of // source file.  

    Consider these options for ifortran

      -e90 -e95 -stand f90 -stand f95 -noinclude  

    Comments

    Popular posts from this blog

    c++ - Linux and clipboard -

    What is expire header and how to achive them in ASP.NET and PHP? -

    sql server - How can I determine which of my SQL 2005 statistics are unused? -