Xevdriver: A Software System Supporting XML-based Source-to-Source Code Transformations on Fortran Programs
Xevdriver: A Software System Supporting XML-based Source-to-Source Code Transformations on Fortran Programs
复制标题
Xevdriver:支持 Fortran 程序上基于 XML 的源代码到源代码转换的软件系统
DOI:
10.1109/candar.2016.0096
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Hiroyuki Takizawa
中科院分区:
文献类型:
--
作者:
R. Suda;Hiroyuki Takizawa
The Xevolver framework is a code transformation framework for supporting evolutional modifications of high performance computing codes. This paper introduces a set of software modules that facilitates administrative tasks about multiple code transformations on multiple source codes. We call this set of software modules the xevdriver, because it drives transformations using Xevolver framework. First, xevdriver provides an abstract view of temporary files. Parsing and unparsing between Fortran and XML are done automatically, and the user do not have to keep track of temporary file names during a series of applications of code transformations. Second, xevdriver also provides an abstract view of combinations of transformations. Xevdriver provides a script language, in which users can define combinations of code transformations as procedures. Third, the logging functions and a log-viewer are provided in accordance with the above abstractions. Users can check how the source codes are transformed on the log-viewer from the high level abstractions of code transformation procedures, and can inspect the intermediate results down into an arbitrary level of concreteness of the implementations of transformations. Our toolset will help development, management and applications of complex code transformations based on Xevolver framework.