fypp

Python-powered Fortran preprocessor for conditional compilation and metaprogramming

brewmacoslinux
Try with needOr install directly
Source

About

Python powered Fortran preprocessor

Commands

fypp

Examples

Preprocess a Fortran file with default settings$ fypp input.F90 -o output.f90
Preprocess with custom macro definitions$ fypp -DDEBUG -DVERSION=2.0 source.F90 -o processed.f90
Preprocess using a configuration file$ fypp -c config.ini main.F90 -o main.f90