Preview

Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS)

Advanced search

Source code transformation and automatic correction of defects with KAST language

Abstract

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.

About the Authors

N. L. Lugovskoy
ISP RAS, Moscow
Russian Federation


S. V. Syromyatnikov
ISP RAS, Moscow
Russian Federation


References

1. http://www.semdesigns.com/Products/DMS/DMSToolkit.html

2. http://strategoxt.org/Tools/WebHome

3. N. L. Lugovskoj. Podkhod dlya provedeniya refaktoringa «Vydelenie funktsii» v instrumente Klocwork Insight [“Extract Function” Refactoring in Klocwork Insight Toolkit]. Trudy ISP RАN [The Proceedings of ISP RAS]. 2012, vol. 23, pp. 107-132 (in Russian).

4. S. V. Syromyatnikov. Deklarativnyj interfejs poiska defektov po sintaksicheskim derev'yam: yazyk KAST [Declarative Interface of Detecting Defects on Syntax Trees: KAST Language]. Trudy ISP RАN [The Proceedings of ISP RAS]. 2011, vol. 20, pp. 51-68 (in Russian).


Review

For citations:


Lugovskoy N.L., Syromyatnikov S.V. Source code transformation and automatic correction of defects with KAST language. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2013;25:51-66. (In Russ.)



Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2079-8156 (Print)
ISSN 2220-6426 (Online)