On 19 February 2014 16:03, Daniel Murphy <yebbliesnos...@gmail.com> wrote: > "Bruno Medeiros" wrote in message news:le2i5p$28g5$1...@digitalmars.com... > >> [snip] > > > I know that a lot of work needs to be done before the frontend is ready to > be efficiently used as a library, but that doesn't make it impossible. > > >> But anyways, those are secondary points actually. What I think is really >> crucial, is that we don't have a main-stream compiler in D. When DMD gets >> ported to D, and the main development of DMD happens there, in the D >> version, then I'll believe a reasonable compiler-as-library could happen. > > > I think you may have missed something! This is coming in the near future. > > > I have been working on automatically converting the DMD fronted to D since > dconf (and before). I've produced working compilers on win32, linux32, and > linux64, with the other platforms currently lacking only because I don't > have a box set up for them. > > The only outstanding work for dmd is fixing layout and commenting/formatting > issues in the generated source, which I am slowly getting through. > > I expect any issues encountered with the other platforms to be minor, and > hopefully switching gdc and ldc will be fairly painless too. >
Once you get past the 6 months spent re-writing 70% of the existing gdc and ldc glue code. ;)