RT info:eu-repo/semantics/conferenceObject T1 Extending a source-to-source compiler with XML capabilities A1 Aldea, Sergio A1 González Escribano, Arturo A1 Llanos Ferraris, Diego Rafael K1 Informática K1 1203 Ciencia de Los Ordenadores K1 3304 Tecnología de Los Ordenadores AB This paper presents an extension that adds XML capabilities to Cetus, a source-to-source compiler developed by Purdue University. In this work, the Cetus Intermediate Represen-tation is converted into an XML DOM tree that, in turn, enables XML capabilities, such as searching specic code features through XPath expressions. As an example, we write an XPath code to nd private and shared vari-ables for parallel execution in C source code. Loopest is a Java program with embedded XPath expressions. While Cetus needs 2573 lines of internal JAVA code to locate private variables in an input code, Loopest needs a total of only 425 lines of code to determine the same private variables in the equivalent XML representation. Using XPath as search method provides a second advantage over Cetus: extensibility. Changes in Cetus requires a deep knowledge of Java, Cetus internal structure, and its Inter-mediate Representation. Moreover, changes in Loopest are easier because it only depends on XPath to generate reports. Finally, we present Sirius, an XML DOM tree-to-C con-verter, that allows to generate the new output C code based on the annotations done in the XML tree. PB Universidad Politécnica de Valencia SN 978-84-92812-49-3 YR 2010 FD 2010 LK https://uvadoc.uva.es/handle/10324/71313 UL https://uvadoc.uva.es/handle/10324/71313 LA eng NO XXI Jornadas de Paralelismo, Valencia, Spain, 7-9 septiembre 2010 NO Producción Científica DS UVaDOC RD 19-ene-2025