pfpp - a portable Fortran pre-processor written in Fortran #319
urbanjost
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pfpp(1) is a basic (no macros) Fortran pre-processor. Some (not all) Fortran compilers allow you to specify the preprocessor to use for *.F and *.F90 pre-preprocessing when this necessary evil crops up. It would be nice to have alternatives like selectively compiling a subdirectory based on the compiler used ( like src/ifort and src/gfortran ) instead, although that might not cover all cases and could require a lot of duplicate code. I am not actually a fan of pre-processing and still find I occasionally need it, especially when supporting multiple compilers and when requiring system interfaces. So wondering if something like this is of interest to anyone else. Just an alpha version but it uses heavily used components so it should be surprising robust for a show-and-tell.
Beta Was this translation helpful? Give feedback.
All reactions