author	 = {Raul Torres and Julian Kunkel and Manuel F. Dolz and Thomas Ludwig},
	title	 = {{Comparison of Clang Abstract Syntax Trees using String Kernels}},
	year	 = {2018},
	month	 = {11},
	booktitle	 = {{2018 International Conference on High Performance Computing \& Simulation (HPCS)}},
	editor	 = {},
	publisher	 = {IEEE},
	pages	 = {106--113},
	conference	 = {HPCS 2018},
	location	 = {Orleans, France},
	isbn	 = {978-1-5386-7879-4},
	doi	 = {},
	abstract	 = {Abstract Syntax Trees (ASTs) are intermediate representations widely used by compiler frameworks. One of their strengths is that they can be used to determine the similarity among a collection of programs. In this paper we propose a novel comparison method that converts ASTs into weighted strings in order to get similarity matrices and quantify the level of correlation among codes. To evaluate the approach, we leveraged the corresponding strings derived from the Clang ASTs of a set of 100 source code examples written in C. Our kernel and two other string kernels from the literature were used to obtain similarity matrices among those examples. Next, we used Hierarchical Clustering to visualize the results. Our solution was able to identify different clusters conformed by examples that shared similar semantics. We demonstrated that the proposed strategy can be promisingly applied to similarity problems involving trees or strings.},