Automatic refactoring of legacy Fortran code to the array slicing notation

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 t...

Full description

Bibliographic Details
Main Authors: Rajaseharan, Chandrasehar, Tan, Wen Jun, Tang, Wai Teng, Turner, Stephen John, Kuo, Shyh-Hao, Goh, Rick Siow Mong, Wong, Weng-Fai
Other Authors: School of Computer Engineering
Format: Conference Paper
Language:English
Published: 2013
Subjects:
Online Access:https://hdl.handle.net/10356/98214
http://hdl.handle.net/10220/12385
_version_ 1826120451240230912
author Rajaseharan, Chandrasehar
Tan, Wen Jun
Tang, Wai Teng
Turner, Stephen John
Kuo, Shyh-Hao
Goh, Rick Siow Mong
Wong, Weng-Fai
author2 School of Computer Engineering
author_facet School of Computer Engineering
Rajaseharan, Chandrasehar
Tan, Wen Jun
Tang, Wai Teng
Turner, Stephen John
Kuo, Shyh-Hao
Goh, Rick Siow Mong
Wong, Weng-Fai
author_sort Rajaseharan, Chandrasehar
collection NTU
description 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.
first_indexed 2024-10-01T05:16:40Z
format Conference Paper
id ntu-10356/98214
institution Nanyang Technological University
language English
last_indexed 2024-10-01T05:16:40Z
publishDate 2013
record_format dspace
spelling ntu-10356/982142020-05-28T07:17:18Z Automatic refactoring of legacy Fortran code to the array slicing notation Rajaseharan, Chandrasehar Tan, Wen Jun Tang, Wai Teng Turner, Stephen John Kuo, Shyh-Hao Goh, Rick Siow Mong Wong, Weng-Fai School of Computer Engineering IEEE International Conference on Parallel and Distributed Systems (18th : 2012 : Singapore) DRNTU::Engineering::Computer science and 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. 2013-07-26T06:22:19Z 2019-12-06T19:52:08Z 2013-07-26T06:22:19Z 2019-12-06T19:52:08Z 2012 2012 Conference Paper Rajaseharan, C., Tan, W. J., Tang, W. T., Turner, S. J., Kuo, S.-H., Goh, R. S. M., et al. (2012). Automatic Refactoring of Legacy Fortran Code to the Array Slicing Notation. 2012 IEEE 18th International Conference on Parallel and Distributed Systems (ICPADS). https://hdl.handle.net/10356/98214 http://hdl.handle.net/10220/12385 10.1109/ICPADS.2012.101 en © 2012 IEEE.
spellingShingle DRNTU::Engineering::Computer science and engineering
Rajaseharan, Chandrasehar
Tan, Wen Jun
Tang, Wai Teng
Turner, Stephen John
Kuo, Shyh-Hao
Goh, Rick Siow Mong
Wong, Weng-Fai
Automatic refactoring of legacy Fortran code to the array slicing notation
title Automatic refactoring of legacy Fortran code to the array slicing notation
title_full Automatic refactoring of legacy Fortran code to the array slicing notation
title_fullStr Automatic refactoring of legacy Fortran code to the array slicing notation
title_full_unstemmed Automatic refactoring of legacy Fortran code to the array slicing notation
title_short Automatic refactoring of legacy Fortran code to the array slicing notation
title_sort automatic refactoring of legacy fortran code to the array slicing notation
topic DRNTU::Engineering::Computer science and engineering
url https://hdl.handle.net/10356/98214
http://hdl.handle.net/10220/12385
work_keys_str_mv AT rajaseharanchandrasehar automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT tanwenjun automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT tangwaiteng automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT turnerstephenjohn automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT kuoshyhhao automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT gohricksiowmong automaticrefactoringoflegacyfortrancodetothearrayslicingnotation
AT wongwengfai automaticrefactoringoflegacyfortrancodetothearrayslicingnotation