digitalmars.D - Self-hosting D compiler -- Coming Real Soon Now(tm)
- H. S. Teoh via Digitalmars-d (24/24) Sep 10 2014 It's finally happening! As some of you may know, DDMD (i.e., dmd written
- Daniel Murphy (7/17) Sep 10 2014 Install appropriate dmd release. Set HOST_DC to point to it. Run makef...
It's finally happening! As some of you may know, DDMD (i.e., dmd written in D, currently via autotranslation) has been in the works for a while. And now, we have the first pull request to replace one of DMD's C++ source files with D code: https://github.com/D-Programming-Language/dmd/pull/3970 Before the compiler team pulls this, however, we need to sort out some issues, such as: - How to make a nice transition for people who follow git HEAD (whose setups will inevitably fail once the above PR gets pulled, since it will likely be unable to find a working D compiler in order to build itself); - Providing clear instructions on how to build a self-hosting compiler; - Providing working dmd binaries from which may be used to bootstrap the process of building dmd; - Decide on policy on how many previous releases the current codebase must be buildable on (currently, it's just the previous release, as I understand it); - etc.. (I'm sure there are other issues I didn't think of.) So this thread is to start discussion to sort these things out before we move ahead. Destroy! T -- Music critic: "That's an imitation fugue!"
Sep 10 2014
"H. S. Teoh via Digitalmars-d" wrote in message news:mailman.701.1410376911.5783.digitalmars-d puremagic.com...- How to make a nice transition for people who follow git HEAD (whose setups will inevitably fail once the above PR gets pulled, since it will likely be unable to find a working D compiler in order to build itself); - Providing clear instructions on how to build a self-hosting compiler;Install appropriate dmd release. Set HOST_DC to point to it. Run makefile as usual.- Providing working dmd binaries from which may be used to bootstrap the process of building dmd;The release zips are the source of working D compilers. There is no work that needs to be done here.- Decide on policy on how many previous releases the current codebase must be buildable on (currently, it's just the previous release, as I understand it);It will be at least the current HEAD and previous release.
Sep 10 2014