Ask HN: What are the best resources to learn about compilers?
1–9 of 9 posts
Re: Ask HN: What are the best resources to learn about compilers?
#2Re: Ask HN: What are the best resources to learn about compilers?
#3Step one is to learn about BNF grammers.
When I was in school we used a book called Princples of Compiler Design. I felt this was an excellent bok at the time. It taught me a lot about how toprogram well.
Re: Ask HN: What are the best resources to learn about compilers?
#4https://en.m.wikipedia.org/wiki/Compilers:_Principles,_Techn...
Re: Ask HN: What are the best resources to learn about compilers?
#5Re: Ask HN: What are the best resources to learn about compilers?
#6Re: Ask HN: What are the best resources to learn about compilers?
#7[Edit: it's Building an Optimizing Compiler by Bob Morgan.]
That's assuming you don't want to waste your time reading about parsing, type checking, or serializing an AST into some form of assembly, the parts of a compiler which just aren't that interesting.
Re: Ask HN: What are the best resources to learn about compilers?
#8I can recommend the book „Compilers: Principles, Techniques and Tools“ [often called „Dragon Book“]. It explains from the basics with all the theory how to write a Leser, parser and much more features. It is one of the few books I bought after university. https://en.m.wikipedia.org/wiki/Compilers:_Principles,_Techn...
Re: Ask HN: What are the best resources to learn about compilers?
#9a college compiler class