3 ms·
I never got on with the Dragon Book despite several attempts.
by tonyedgecombe 7y ago
I never got on with the Dragon Book despite several attempts.
- abnercoimbre 7y agoYou both should try "Compiler Construction: Principles and Practice" [0]. Theory is interleaved with substantial examples and exercises. You create an entire compiler for a tiny language called TINY (hah.) You write it in C and generate code for a portable virtual machine -- the book also goes into detail on the VM, with source code. Lastly, the book's appendix has guidance for writing a compiler for a subset of the C language. [0] https://www.cs.sjsu.edu/~louden/cmptext/ https://www.cs.sjsu.edu/~louden/cmptext/