3 ms·
Check out "Modern Compiler Implementation" by Appel and also the Red (Purple?) Dragon book.
by fao_ 7y ago
Check out "Modern Compiler Implementation" by Appel and also the Red (Purple?) Dragon book.
- kerkeslager 7y agosigh Have you actually done this? Do you really think we haven't? The Appel book in particular is very good, but it only covers assembly generation at a high level. None of the examples target a real-world architecture.
- fao_ 7y agoI don't know what you have done. The red dragon book goes over targeting an intermediate form that's basically assembly language, it also covers register allocation in depth. As far as I can tell, most of the texts after that is in research papers and real world examples (https://c9x.me/compile/ https://c9x.me/compile/)