gccXfront: Exploiting gcc as a Front End for Program Comprehension Tools via XML/XSLT

نویسندگان

  • Mark Hennessy
  • Brian A. Malloy
  • James F. Power
چکیده

Parsing programming languages is an essential component of the front end of most program comprehension tools. Languages such as C++ can be difficult to parse and so it can prove useful to re-use existing front ends such as those from the GNU compiler collection, gcc. We have modified gcc to provide syntactic tags in XML format around the source code which can greatly enhance our comprehension of the program structure. Further, by using XML transformation stylesheets, the XML outputted by our modified gcc can be translated into a more readable format. Our tool, gccXfront leverages the power and portability of the gcc suite, since any C, C++, Objective C or Java program can be processed using gcc. Our tool can thus act as a bridge between gcc and other program comprehension tools that accept XML formatted input.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

XOgastan: XML-Oriented gcc AST Analysis and Transformations

Software maintenance, program analysis and transformation tools almost always rely on static source code analysis as the first and fundamental step to gather information. In the past, two different strategies have been adopted to develop tool suites. There are tools encompassing or implementing the source parse step, where the parser is internal to the toolkit, developed and maintained with it....

متن کامل

XTL: An XML Transformation Language and XSLT generator for XTL

This paper describes a new query and transformation language XTL (An XML transformation language). XTL is based on both output driven and schema driven approach: 1) To specify an output structure of transformation using XML schema language (so far we choose DTD), 2) To map from well-formed input XML documents to an output structure using XPath that is embedded in DTD. XTL has a simple syntax, a...

متن کامل

Composition of XML-Transformations

Electronic commerce seeks improvements of business processes by aggressively exploiting the enormous increases in information exchange o ered by digital telecommunication systems. XML is seen as an important step to overcome the problems of heterogeneity of data exchange between di erent systems, albeit the structural as well as the semantic heterogeneities are not even touched by this standard...

متن کامل

Exploiting XML to Provide a Uniform Interface for Graphical Representation of Data

In this paper, we describe a technique for representing the results of computational models by exploiting the power and expressivity of the Extensible Markup Language, XML. This uniform representation facilitates sharing of information on the Internet, as well as viewing by many tools, such as c , c , c , or a web browser. We allow the user of the application to choose the desired file format. ...

متن کامل

A Framework for Integrating XML Transformations

XML is the de facto standard for representing and exchanging data on the World Wide Web and XSLT is a primary language for XML transformation. Integration of XML data is an increasingly important problem and many methods have been developed. In this paper, we study the related and more difficult problem of how to integrate XSLT programs. Program integration can be particularly important for ser...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003