fsource-0.5
توضیحات
Static analysis tools for Fortran, written in pure Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fsource-0.5 |
| نام | fsource |
| نسخه کتابخانه | 0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Markus Wallerberger |
| ایمیل نویسنده | markus.wallerberger@tuwien.ac.at |
| آدرس صفحه اصلی | https://github.com/mwallerb/fsource |
| آدرس اینترنتی | https://pypi.org/project/fsource/ |
| مجوز | - |
fsource - Fortran static analysis tool
======================================
[![Tests]](https://travis-ci.org/mwallerb/fsource)
[![PyPI]](https://pypi.python.org/pypi/fsource)
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 [command line interface]:
- 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 [wrapper], which builds on the Fortran parser to extract module variables,
types and subroutines which can be interfaced with C and generates header
files for them:
$ fsource wrap 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
[command line interface]: https://github.com/mwallerb/fsource/tree/v0.5/doc/cli.md
[line splicer]: https://github.com/mwallerb/fsource/tree/v0.5/doc/splicer.md
[lexer]: https://github.com/mwallerb/fsource/tree/v0.5/doc/lexer.md
[parser]: https://github.com/mwallerb/fsource/tree/v0.5/doc/parser.md
[wrapper]: https://github.com/mwallerb/fsource/tree/v0.5/doc/wrapper.md
[Tests]: https://travis-ci.org/mwallerb/fsource.svg?branch=master
[PyPI]: https://img.shields.io/pypi/v/fsource.svg?style=flat
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, <4 | Python |
نحوه نصب
نصب پکیج whl fsource-0.5:
pip install fsource-0.5.whl
نصب پکیج tar.gz fsource-0.5:
pip install fsource-0.5.tar.gz