A Tool Platform Using an XML Representation of Source Code Information

Katsuhisa MARUYAMA
Shinichiro YAMAMOTO

Publication
IEICE TRANSACTIONS on Information and Systems   Vol.E89-D    No.7    pp.2214-2222
Publication Date: 2006/07/01
Online ISSN: 1745-1361
DOI: 10.1093/ietisy/e89-d.7.2214
Print ISSN: 0916-8532
Type of Manuscript: PAPER
Category: Software Engineering
Keyword: 
source code representation,  tool platform,  Java,  XML,  program analysis,  source code manipulation tools,  

Full Text: PDF(580.5KB)>>
Buy this Article



Summary: 
Recent IDEs have become more extensible tool platforms but do not concern themselves with how other tools running on them collaborate with each other. They compel developers to use proprietary representations or the classical abstract syntax tree (AST) to build source code tools. Although these representations contain sufficient information, they are neither portable nor extensible. This paper proposes a tool platform that manages commonly used, fined-grained, information about Java source code by using an XML representation. Our representation is suitable for developing tools which browse and manipulate actual source code, since the original code is annotated with tags based on its structure and retained within the tags. Additionally, it exposes information resulting from global semantic analysis, which is never provided by the typical AST. Our proposed platform allows the developers to extend the representation for the purpose of sharing or exchanging various kinds of information about the source code, and also enables them to build new tools by using existing XML utilities.


open access publishing via