DDMD and such.

Nick Sabalausky a at a.a
Wed Sep 28 13:52:30 PDT 2011


"Jacob Carlborg" <doob at me.com> wrote in message 
news:j5vu43$580$1 at digitalmars.com...
>
> I think that the right approach would be to have a modular frontend 
> written in D that can be used as a library, think Clang. Then DMD could 
> use this frontend and connect it with the DMC backend.
>
> To get this frontend I think the DMD frontend needs to be ported to D 
> without much modification in the first step. DMD would then use the D 
> version of the frontend. When the complete frontend is ported and used by 
> DMD, then we could start refactoring the frontend to make it more modular.
>
> I think this is the most realistic approach. I don't think Walter would 
> just drop the DMD frontend and start with a new one, or use some other 
> frontend developed by someone else.
>

I agree, but I think it might be best to start by creating D bindings to the 
C++-based frontend. That way the frontend could be ported to D (without much 
modification) piece-by-piece. Kind of like the way Walter's porting Optlink 
from Asm to C.




More information about the Digitalmars-d mailing list