Tel: +44(0)1865 300 579
Fax: +44(0)1865 300 232

Programs for Programmers

WPP


Winteracter includes a Fortran pre-processor (WPP) which may prove useful if you need to target multiple platforms/compilers or generate multiple progam configurations. Unlike a macro pre-processor, WPP uses standard Fortran comment lines to identify pre-processor conditions and condition dependent code. Hence, the original source code and any generated code remains fully standard conforming code capable of being compiled directly.

WPP is supplied in two alternative forms:

 

  • A version is built into WiDE, allowing code to be pre-processed 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' pre-processing.
  • 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.