DocumentCode :
3450523
Title :
Generalized selective XML markup of source code using agile parsing
Author :
Cordy, James R.
Author_Institution :
Sch. of Comput., Queen´´s Univ., Kingston, Ont., Canada
fYear :
2003
fDate :
10-11 May 2003
Firstpage :
144
Lastpage :
153
Abstract :
Increasingly focus in the software comprehension community is shifting from representing the results of analysis in the graph and database domain to reflecting insights directly into source. The obvious modern representation for this reflection is XML markup. In the simplest case, XML markup of the abstract syntax tree itself can be represented in source, although the result is wordy, overly detailed and cumbersome to deal with. A more realistic solution is to use island or multiweight parsing to mark up the AST in only those sections of source of interest to the current task. In this paper we outline a method for extending and generalizing the partial markup idea to minimize source markup not only by marking only sections, but by selectively marking up the source with only a subset of the AST nodes relevant to each particular task as well. By exploiting agile parsing, this idea is further extended to allow for task-directed selective markup as a natural extension of selective syntactic markup.
Keywords :
XML; computational linguistics; grammars; program compilers; reverse engineering; tree data structures; AST nodes; abstract syntax tree; agile parsing; generalized selective XML markup; island parsing; multiweight parsing; selective syntactic markup; software comprehension; source code; task-directed selective markup; Conferences; Councils; Data preprocessing; Engines; Optimized production technology; Reflection; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension, 2003. 11th IEEE International Workshop on
ISSN :
1092-8138
Print_ISBN :
0-7695-1883-4
Type :
conf
DOI :
10.1109/WPC.2003.1199198
Filename :
1199198
Link To Document :
بازگشت