DocumentCode :
1664231
Title :
Towards a standard schema for C/C++
Author :
Ferenc, Rudolf ; Sim, Susan Elliott ; Holt, Richard C. ; Koschke, Rainer ; Gyimóthy, Tibor
Author_Institution :
Res. Group on Artificial Intelligence, Szeged Univ., Hungary
fYear :
2001
fDate :
6/23/1905 12:00:00 AM
Firstpage :
49
Lastpage :
58
Abstract :
Developing a standard schema at the abstract syntax tree (AST) level for C/C++ to be used by reverse engineering and reengineering tools is a complex and difficult problem. In this paper we present a catalogue of issues that need to be considered in order to design a solution. Three categories of issues are discussed. Lexical structure is the first category and pertains to characteristics of the source code, such as spaces and comments. The second category, syntax, includes both the mundane and hard problems in the C++ programming language. The final category is semantics and covers aspects such as naming and reference resolution. Example solutions to these challenges are provided from the Datrix schema from Bell Canada and the Columbus schema from University of Szeged. The paper concludes with a discussion of lessons learnt and plans for future work on a C/C++AST standard schema
Keywords :
C language; C++ language; naming services; programming language semantics; reverse engineering; software standards; systems re-engineering; AST standard schema; C schema; C++ programming language; C++ schema; Columbus schema; Datrix schema; GXL; Graph Exchange Language; abstract syntax trees; comments; extractor; front end; lexical structure; naming; parser; reengineering tools; reference resolution; reverse engineering tools; semantics; source code characteristics; spaces; standard exchange format; syntax; Artificial intelligence; Computer languages; Computer science; Data mining; Reverse engineering; Spatial databases; Standards development; Terminology;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Reverse Engineering, 2001. Proceedings. Eighth Working Conference on
Conference_Location :
Stuttgart
ISSN :
1095-1350
Print_ISBN :
0-7695-1303-4
Type :
conf
DOI :
10.1109/WCRE.2001.957809
Filename :
957809
Link To Document :
بازگشت