On Sunday, 14 February 2021 at 17:56:00 UTC, James Lu wrote:
On Saturday, 13 February 2021 at 16:39:12 UTC, Imperatorn wrote:
On Saturday, 13 February 2021 at 16:06:31 UTC, James Lu wrote:
[...]
"readable by a beginner" && "interesting and substantial
information" might be hard to find. Did you mean front- or
backend? If you want to show compiler u might look at
https://github.com/dlang/dmd/blob/master/src/dmd/compiler.d
for example.
Frontend, to show the language.
If you are looking for high level understanding of a D front end
https://github.com/SDC-Developers/SDC might help, either
standalone or as a supplement to your DMD readings.
On the minus side, SDC is a hibernating prototype.
On the plus side, SDC employs a strong architecture that factors
out many of the dependency issues facing DMD. What remains is
very readable.