PyForTool
Python-fortran-tool
Loading...
Searching...
No Matches
Namespaces | Variables
pyfortool Namespace Reference

Namespaces

namespace  applications
 
namespace  cosmetics
 
namespace  cpp
 
namespace  expressions
 
namespace  openacc
 
namespace  pyfortool
 
namespace  scope
 
namespace  scripting
 
namespace  statements
 
namespace  tree
 
namespace  util
 
namespace  variables
 

Variables

str NAMESPACE = 'http://fxtran.net/#syntax'
 

Detailed Description

PyForTool - Python FORTRAN source-to-source transformation tool.

A Python package built on top of fxtran for manipulating FORTRAN source files.
Provides capabilities for:

- Parsing FORTRAN source code into XML
- Analyzing and querying code structure (scopes, variables, statements)
- Applying transformations (code optimization, GPU preparation, instrumentation)
- Writing transformed code back to FORTRAN

Basic Usage
----------
>>> from pyfortool import PYFT
>>> pft = PYFT('input.F90')
>>> pft.upperCase()
>>> pft.write()

Main Classes
-----------
PYFT : Main class for file-level operations
PYFTscope : Scope-level operations (modules, subroutines, functions)

See Also
--------
fxtran : External FORTRAN parser used by PyForTool

Variable Documentation

◆ NAMESPACE

str pyfortool.NAMESPACE = 'http://fxtran.net/#syntax'

Definition at line 32 of file __init__.py.