Any book recommendation for writing a compiler?

Ali Çehreli acehreli at yahoo.com
Wed Nov 1 21:24:10 UTC 2017


On 11/01/2017 01:53 PM, Dr. Assembly wrote:
> Hey guys, if I were to get into dmd's source code to play a little bit 
> (just for fun, no commercial use at all), which books/resources do you 
> recommend to start out?

I haven't read it but one compiler bible is "the dragon book":

 
https://www.amazon.com/Compilers-Principles-Techniques-Tools-2nd/dp/0321486811

You should also watch Walter's presentation on dmd internals:

   http://dconf.org/2016/talks/bright.html

Ali


More information about the Digitalmars-d-learn mailing list