On 2013-02-28 18:18, Iain Buclaw wrote:If you're removing these functions does it matter which language they're written in ?
We still do not know what portions of the frontend is being ported over
to D. The way gdc is written, it takes the D Frontend, removes all C++
parts that interface with dmd's backend - toElem; toIR; toObjFile;
toSymbol; toCtype; toDt (this latter one I am in the middle of removing
from gdc) and implements them to instead build GCC trees, the code
itself also being in C++.
These are all methods defined in D Front-End, and rely on calling and
interfacing with the gcc backend. Re-writing these in D is not an
option, as require access to GCC macros.
--
/Jacob Carlborg