Fypp is a Python-powered Fortran preprocessor. It is a tool for generating Fortran source code from template files using a Python-like macro language. The current version is 3.2, with moderate release cadence (major versions every few years).
pip install fyppVerified import paths — ran on the pinned version, not inferred.
Quickstart: process a template file with fypp.
Consult the changelog: https://github.com/aradi/fypp/releases/tag/3.0
Use parentheses for macro calls: @:macro(args)
Use --file-var-root to control the root for relative paths.
Run from command line: fypp -o output input
Provide output file: fypp -o output.f90 input.fpp
Use the command line: fypp --help
Upgrade fypp: pip install --upgrade fypp
No dependency data recorded yet.