<div dir="ltr"><div class="gmail_default" style>On Thu, Jan 17, 2013 at 2:58 PM, Miguel Aguilar <span dir="ltr"><<a href="mailto:miguel.aguilar@ice.rwth-aachen.de" target="_blank">miguel.aguilar@ice.rwth-aachen.de</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I would like to know the possible approaches to translate a program in C++ to another language such as C using Clang. Should I walk in the AST and emit the code or should I create a new AST in the other language for example?.<br>
</blockquote><div><br></div><div style>The general advice I've seen given most often on this list is to walk the AST and emit the code.</div><div style><br></div><div style>Cheers,</div><div style>/Manuel</div><div style>
 <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks in advanced,<br>
<br>
Miguel<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>