On Friday, 11 May 2012 at 09:02:12 UTC, Jacob Carlborg wrote:
If think that the end goal of a project like this, putting a D
frontend in Phobos, should be that the compiler should be built
using this library. This would result in the compiler and
library always being in sync and having the same behavior.
Otherwise it's easy this would be just another tool that tries
to lex and parse D code, always being out of sync with the
compiler and not having the same behavior.
For this to happen, for Walter to start using this, I think
there would be a greater change if the frontend was a port of
the DMD frontend and not changed too much.
My plan is to create frontend that would be much better than
existing, both in design and implementation. I decided to work on
this full time for several months.
Front end will not produce the same data as DMD front end does,
so most likely it will not be suitable to replace existing C++
implementation. But since no information will be lost I will
consider creating a separate project which would build output
compatible with existing (not identical, I don't think that would
be feasible).