WPP


Winteracter includes a Fortran preprocessor, WPP.

WPP may prove useful to those who need to target multiple platforms/compilers or generate multiple program configurations. Unlike a macro preprocessor, WPP uses standard Fortran comment lines to identify preprocessor conditions and condition dependent code. Hence, the original source code and any generated code remains fully standard conforming, allowing direct compilation.

WPP is supplied in two forms:

  • A version is built into WiDE, allowing code to be preprocessed transparently as part of the compilation process. WiDE also provides a GUI interface to WPP under the Fortran Tools menu, for the purpose of 'one-off' preprocessing.
  • A command line version of WPP allows it to be used in batch procedures or shell scripts.

The source code syntax is extremely simple, providing a quick and convenient solution to a common problem.


Click here to return to Visual Tools page.