Metadata-Version: 2.1
Name: fsource
Version: 0.2
Summary: Static analysis tools for Fortran, written in pure Python
Home-page: https://github.com/mwallerb/fsource
Author: Markus Wallerberger
Author-email: markus.wallerberger@tuwien.ac.at
License: UNKNOWN
Keywords: fortran lexer parser analysis
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Python: >=2.7, <4
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'

fsource - Fortran static analysis tool
======================================

fsource is a collection of tools allowing you to parse Fortran 77 through
Fortran 2008 programs.  It is written in pure Python and has no external
dependencies.

You install fsource via pip:

    $ pip install fsource

or simply download the [source], since there are no external dependencies
(note that you should use `bin/fsource` instead of `fsource` in this case).

fsource currently features:

 - a [parser], which takes a Fortran file and outputs an abstract syntax tree
   (for the definitions) allowing you to extract modules, subprograms, derived
   types, parameters, etc.:

       $ fsource parse FILE.f90

 - a line [splicer] and a [lexer], low-level tools which split a Fortran file
   into a set of logical lines and tokens, respectively.  This allows you to
   set up your parsing infrastructure on top of fsource:

       $ fsource splice FILE.f90
       $ fsource lex FILE.f90


[source]: https://github.com/mwallerb/fsource
[splicer]: doc/splicer.md
[lexer]: doc/lexer.md
[parser]: doc/parser.md


