Труды Института системного программирования РАН (Oct 2018)

Source code transformation and automatic correction of defects with KAST language

  • N. L. Lugovskoy,
  • S. V. Syromyatnikov

Journal volume & issue
Vol. 25, no. 0
pp. 51 – 66

Abstract

Read online

This article is devoted to KAST language extensions introduced for purposes of sources code transformation. Currently KAST is used for matching syntactic patterns in syntactic trees built of C/C++, Java or C# sources. Several existing approaches to code transformation are also considered and KAST advantages over those approaches are highlighted. A method for converting modifications of syntactic trees into modifications of source code is also described.

Keywords