<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 March 2013 07:26, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">On 2013-02-28 18:18, Iain Buclaw wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
We still do not know what portions of the frontend is being ported over<br>
to D.  The way gdc is written, it takes the D Frontend, removes all C++<br>
parts that interface with dmd's backend - toElem; toIR; toObjFile;<br>
toSymbol; toCtype; toDt (this latter one I am in the middle of removing<br>
from gdc) and implements them to instead build GCC trees, the code<br>
itself also being in C++.<br>
<br>
These are all methods defined in D Front-End, and rely on calling and<br>
interfacing with the gcc backend.  Re-writing these in D is not an<br>
option, as require access to GCC macros.<br>
</blockquote>
<br></div>
If you're removing these functions does it matter which language they're written in ?<span class=""><font color="#888888"><br>
<br>
-- <br>
/Jacob Carlborg<br>
</font></span></blockquote></div><br><br></div><div class="gmail_extra">Not removed, re-written.  For example, VectorExp::toElem().<br><br></div><div class="gmail_extra">For gdc: <a href="https://github.com/D-Programming-GDC/GDC/blob/master/gcc/d/d-elem.cc#L2375">https://github.com/D-Programming-GDC/GDC/blob/master/gcc/d/d-elem.cc#L2375</a><br>
</div><div class="gmail_extra">For dmd: <a href="https://github.com/D-Programming-Language/dmd/blob/master/src/e2ir.c#L3820">https://github.com/D-Programming-Language/dmd/blob/master/src/e2ir.c#L3820</a><br><br><br></div>
<div class="gmail_extra">Regards<br></div><div class="gmail_extra">-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>