Title :
Source code files as structured documents
Author :
Maletic, Jonathan I. ; Collard, Michael L. ; Marcus, Andrian
Author_Institution :
Dept. of Comput. Sci., Kent State Univ., OH, USA
Abstract :
A means to add explicit structure to program source code is presented. XML is used to augment source code with syntactic information from the parse tree. More importantly, comments and formatting are preserved and identified for future use by development environments and program comprehension tools. The focus is to construct a document representation in XML instead of a more traditional data representation of the source code. This type of representation supports a programmer centric view of the source rather than a compiler centric view. Our representation is made relevant with respect to other research on XML representations of parse trees and program code. The highlights of the representation are presented and the use of queries and transformations discussed.
Keywords :
hypermedia markup languages; program compilers; reverse engineering; XML; document representation; explicit structure; formatting; parse tree; programmer centric view; source code files; structured documents; syntactic information; Application software; Computer science; Documentation; Markup languages; Program processors; Programming profession; Software engineering; Software standards; Writing; XML;
Conference_Titel :
Program Comprehension, 2002. Proceedings. 10th International Workshop on
Print_ISBN :
0-7695-1495-2
DOI :
10.1109/WPC.2002.1021351