# loki

The Loki source-to-source translation package for Fortran codes.

Modules

`analyse` | Advanced analysis utilities, such as dataflow analysis functionalities.
`backend` | Backend classes that convert Loki IR into output code in various languages.
`batch` | Batch processing abstraction for processing large source trees with Loki.
`config` | Dictionary class that holds global configuration parameters.
`dimension` |
`expression` | Expression layer of the two-level Loki IR based on Pymbolic.
`frontend` | Frontend parsers that create Loki IR from input Fortran code.
`function` |
`ir` | The Loki internal representation (IR) and associated APIs for tree traversal.
`jit_build` | Just-in-Time compilation utilities used in the Loki test base.
`lint` | Code linting infrastructure to allow coding standard checks using Loki.
`logging` | Loki's logger classes and logging utilities.
`module` | Contains the declaration of `Module` to represent Fortran modules.
`program_unit` |
`scope` | Representation of symbol tables and scopes in Loki’s internal representation (IR)
`scripts` | Standalone scripts that provide the top-level entry-point to the Loki API.
`sourcefile` | Contains the declaration of `Sourcefile` that is used to represent and manipulate (Fortran) source code files.
`subroutine` |
`tests` |
`tools` | Collection of tools and utility methods used throughout Loki.
`transformations` | Sub-package with supported source code transformation passes.
`types` | Collection of classes to represent type information for symbols used throughout Loki’s internal representation (IR)