Automatic refactoring of legacy Fortran code to the array slicing notation
Tan, Wen Jun
Tang, Wai Teng
Turner, Stephen John
Goh, Rick Siow Mong
Date of Issue2012
IEEE International Conference on Parallel and Distributed Systems (18th : 2012 : Singapore)
School of Computer Engineering
There are many legacy Fortran programs still in use today, especially scientific codes which were written decades ago. Many of these codes use explicit DO-loops in programs that tend to clutter the code and make it harder to understand and maintain. Modern features of the Fortran language, such as the array slicing notation and introduction of commonly used intrinsic functions, go a long way in helping programmers write code that is easier to read and maintain. We introduce a refactoring tool that can help to transform code to make use of the array slicing notation and related intrinsic functions.
DRNTU::Engineering::Computer science and engineering
© 2012 IEEE.