Skip to content
/ fparser Public
forked from pearu/f2py

This project maintains and develops a Fortran parser called fparser2 written purely in Python which supports Fortran 2003 and some Fortran 2008. A legacy parser fparser1 is also available but is not supported. The parsers were originally part of the f2py project by Pearu Peterson.

License

Notifications You must be signed in to change notification settings

stfc/fparser

 
 

Repository files navigation

News

  • 26/11/2024 Version 0.2.0 released (support for statements behind OMP sentinels, non-standard STOP and bug fix for type-guard statements).
  • 31/01/2024 Version 0.1.4 released (resolves issues with WHERE statements and intrinsics).
  • 18/09/2023 Version 0.1.3 released (resolves issues with support for DO CONCURRENT).
  • 19/06/2023 Version 0.1.2 released (bug fix for handling of INCLUDE files).
  • 28/04/2023 Version 0.1.1 released (extends F2008 support with the optional "::" in the MODULE PROCEDURE statement).
  • 18/04/2023 Version 0.1.0 released and status changed from alpha to beta. See the CHANGELOG for more details.
  • 16/06/2022 Version 0.0.16 released. See the CHANGELOG for details.
  • 30/05/2022 Version 0.0.15 released. See the CHANGELOG for details.
  • 10/03/2022 Version 0.0.14 released. See the CHANGELOG for details.
  • 02/11/2021 Version 0.0.13 released. See the CHANGELOG for details.
  • 26/04/2021 Version 0.0.12 released. See the CHANGELOG for details.
  • 15/05/2020 Version 0.0.11 released. See the CHANGELOG for details.
  • 18/11/2019 Version 0.0.10 released. See the CHANGELOG for details.
  • 04/11/2019 Version 0.0.9 released. See the CHANGELOG for details.
  • 03/12/2018 Version 0.0.8 released. See the CHANGELOG for details.
  • 23/04/2018 Version 0.0.7 released. See the CHANGELOG for details.
  • 22/03/2017 Version 0.0.2 released. Documentation made available on ReadTheDocs.
  • 16/01/2017 Parser code extracted from F2PY project to form the base of the fparser project.

Introduction

This project is based upon the Fortran (77..2003) parser originally developed by Pearu Peterson for the F2PY project, www.f2py.com. It provides a parser for Fortran source code implemented purely in Python with minimal dependencies.

Obtaining

fparser is available from the Python Package Index. It may also be cloned from github. Alternatively, github provides tarballs for each of the releases.

Documentation

The documentation for fparser is hosted on ReadTheDocs.

Code Metrics

fparser unit tests codecov Documentation Status

Icicle coverage plot generated by CodeCov

See also

www.f2py.com.

About

This project maintains and develops a Fortran parser called fparser2 written purely in Python which supports Fortran 2003 and some Fortran 2008. A legacy parser fparser1 is also available but is not supported. The parsers were originally part of the f2py project by Pearu Peterson.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • Other 0.9%