<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello everybody,<div>I am a Master's student at Texas A&M University,</div><div>and I am working on a tool which t<span style="font-size: 10pt; ">ransforms macros(in a C++ program) into equivalent C++ declarations. </span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">The goal of my work is to build tools to support refactoring macros into type-safe code.</span></div><div><span style="font-size: 10pt; ">I am interested in developing these tools for Clang as part of Google Summer of Code</span></div><div><div><br></div></div><div><span style="font-size: 10pt; ">A prototype for my thesis project already uses the clang-Preprocessor to get information </span></div><div><span style="font-size: 10pt; ">related to scope of functions, locations of macro invocations etc. I have implemented most of the ideas </span></div><div>into the prototype. Some of the ideas, which I am yet to implement in my tool, would be done this Summer.</div><div><br></div><div>I have tested the tool on a couple of libraries (cryptopp and p7zip)</div><div>and the results I've got are pretty good. <span style="font-size: 10pt; ">For cryptopp5.6.1 it got rid of 45% of macros and for p7zip it got rid of around 85% of macros.</span></div><div><br></div><div>Since I have already designed and implemented the required methods to transform different kinds of macros, </div><div>I think three months would be sufficient to develop these tools.</div><div><br></div><div>Is there any interest in mentoring such a project for GSoC?</div><div><br></div><div>Thanks</div><div>Aditya Kumar</div>                                         </div></body>
</html>