The Open Fortran Parser (OFP) project provides ANTLR-based parsing tools that support the Fortran 2003 standard. The project aims to provide compiler front-end level tools for performing operations on Fortran 2003 programs, such as source-to-source transformations and code analysis. OFP will be used to generate abstract syntax representations of Fortran programs based on the ROSE compiler infrastructure and a pure-Java, ROSE-inspired format that does not require ROSE. OFP is also aiming to support Fortran development tools for the Eclipse Integrated Development Environment. The final draft of the ISO Fortran 2003 specification used to develop OFP can be found at this location.
![[OFP Architecture]](ofp_arch_small.jpg)
The OFP project is currently available under the Eclipse Public License.
Modified July 17, 2007
Contact: fortran-parser-devel@lists.sourceforge.net